MCPcopy Create free account
hub / github.com/RenderKit/embree / getExecutableFileName

Function getExecutableFileName

common/sys/sysinfo.cpp:473–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471namespace embree
472{
473 std::string getExecutableFileName() {
474 char filename[1024];
475 if (!GetModuleFileName(nullptr, filename, sizeof(filename)))
476 return std::string();
477 return std::string(filename);
478 }
479
480 unsigned int getNumberOfLogicalThreads()
481 {

Callers 3

openLibraryFunction · 0.85
executableFolderMethod · 0.85
create_deviceMethod · 0.85

Calls 2

toStringFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected