MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator / CurrentTimeToStr

Function CurrentTimeToStr

src/Tests.cpp:364–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362};
363
364static void CurrentTimeToStr(std::string& out)
365{
366 time_t rawTime; time(&rawTime);
367 struct tm timeInfo; localtime_s(&timeInfo, &rawTime);
368 char timeStr[128];
369 strftime(timeStr, _countof(timeStr), "%c", &timeInfo);
370 out = timeStr;
371}
372
373VkResult MainTest(Result& outResult, const Config& config)
374{

Callers 3

BenchmarkAlgorithmsCaseFunction · 0.85
WriteMainTestResultFunction · 0.85
WritePoolTestResultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected