(bytes)
| 326 | // block. The different rounding will guarantee that even 'thin' allocations |
| 327 | // should get at least one pixel dot in the graph. |
| 328 | bytesToPixelsRoundedUp(bytes) { |
| 329 | return ((bytes * emscriptenMemoryProfiler.canvas.width * emscriptenMemoryProfiler.canvas.height + HEAP8.length - 1) / HEAP8.length) | 0; |
| 330 | }, |
| 331 | |
| 332 | // Graphs a range of allocated memory. The memory range will be drawn as a |
| 333 | // top-to-bottom, left-to-right stripes or columns of pixels. |
nothing calls this directly
no outgoing calls
no test coverage detected