MCPcopy Create free account
hub / github.com/bamlab/flashlight / printMemoryStats

Function printMemoryStats

packages/platforms/android/cpp-profiler/src/main.cpp:42–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void printMemoryStats(std::vector<string> pids)
43{
44 for (string pid : pids)
45 {
46 string memoryFilePath = "/proc/" + pid + "/statm";
47 readFile(memoryFilePath);
48 }
49}
50
51long long totalDurationSum = 0;
52long long measureCount = 0;

Callers 1

printPerformanceMeasureFunction · 0.85

Calls 1

readFileFunction · 0.85

Tested by

no test coverage detected