OsGetProcessorCount
function · os
- Address
0x429d20· 46 bytes, up to0x429d4d- Meaning
- Returns the number of processors
- Confidence
- inferred
- Finding
- models/cache#feature-mask
Finding: Feature mask in models: the cache
M2Initialize grants each requested feature bit the device supports and stores the result at
+0x4. Bit 4 (the helper thread) needs more than one processor; bit 8 (vertex shaders) a device
vertex-program level of 1 (Direct3D vertex shader 2.0 or later) or 2 (OpenGL ARB); bit 0x10 (pixel shaders) pixel shader version 4 and bit 8 granted; bit 1
a nonzero device field +0xbc; bit 2 a positive +0xc0, unless the vertex-program level is 2 and
bit 8 is granted; bit 0x20 is granted as requested. A second call logs
Model2: M2Initialize called mode than once and returns 1.
The derivation is in the doc.
Callers 5
- DestroyScheduler core
- GetCpuCapabilities os
- TimeManager::TimeManager core
- SendBugReport net
- M2CacheInitialize models
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.