(self)
| 559 | } |
| 560 | |
| 561 | def get_jit_memory_stats(self) -> dict[Doc, tuple[int, int | None]]: |
| 562 | jit_total_memory_size = self._data["JIT total memory size"] |
| 563 | jit_code_size = self._data["JIT code size"] |
| 564 | jit_trampoline_size = self._data["JIT trampoline size"] |
| 565 | jit_data_size = self._data["JIT data size"] |
| 566 | jit_padding_size = self._data["JIT padding size"] |
| 567 | jit_freed_memory_size = self._data["JIT freed memory size"] |
| 568 | |
| 569 | return { |
| 570 | Doc( |
| 571 | "Total memory size", |
| 572 | "The total size of the memory allocated for the JIT traces", |
| 573 | ): (jit_total_memory_size, None), |
| 574 | Doc( |
| 575 | "Code size", |
| 576 | "The size of the memory allocated for the code of the JIT traces", |
| 577 | ): (jit_code_size, jit_total_memory_size), |
| 578 | Doc( |
| 579 | "Trampoline size", |
| 580 | "The size of the memory allocated for the trampolines of the JIT traces", |
| 581 | ): (jit_trampoline_size, jit_total_memory_size), |
| 582 | Doc( |
| 583 | "Data size", |
| 584 | "The size of the memory allocated for the data of the JIT traces", |
| 585 | ): (jit_data_size, jit_total_memory_size), |
| 586 | Doc( |
| 587 | "Padding size", |
| 588 | "The size of the memory allocated for the padding of the JIT traces", |
| 589 | ): (jit_padding_size, jit_total_memory_size), |
| 590 | Doc( |
| 591 | "Freed memory size", |
| 592 | "The size of the memory freed from the JIT traces", |
| 593 | ): (jit_freed_memory_size, jit_total_memory_size), |
| 594 | } |
| 595 | |
| 596 | def get_histogram(self, prefix: str) -> list[tuple[int, int]]: |
| 597 | rows = [] |
no test coverage detected