MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / getNumPagesToContainArray

Function getNumPagesToContainArray

quest/src/cpu/cpu_config.cpp:138–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136
137
138qindex getNumPagesToContainArray(long pageLen, qindex arrLen) {
139
140 // round up to the nearest page
141 return static_cast<qindex>(std::ceil(arrLen / (qreal) pageLen));
142}
143
144
145long cpu_getPageSize() {

Callers 2

cpu_allocNumaArrayFunction · 0.85
cpu_deallocNumaArrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected