MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / PadToAlignment

Function PadToAlignment

IntelPresentMon/CommonUtilities/Memory.h:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 }
18
19 inline constexpr size_t PadToAlignment(size_t bytes, size_t alignment)
20 {
21 return bytes + GetPadding(bytes, alignment);
22 }
23
24 template<std::copy_constructible T>
25 class CloningUptr : public std::unique_ptr<T>

Callers 6

AddMetricStatMethod · 0.85
PM_DYNAMIC_QUERYMethod · 0.85
AddStatMethod · 0.85
PM_FRAME_QUERYMethod · 0.85
TelemetrySegmentBytes_Function · 0.85
CalculateSegmentBytesMethod · 0.85

Calls 1

GetPaddingFunction · 0.85

Tested by

no test coverage detected