Update AsynchronousMetrics.cpp

This commit is contained in:
Alexander Kuzmenkov 2020-06-25 23:46:18 +03:00 committed by GitHub
parent 059a2704d0
commit 477fbc70f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -332,8 +332,8 @@ void AsynchronousMetrics::update()
ReadBufferFromFile buf("/proc/cpuinfo"); ReadBufferFromFile buf("/proc/cpuinfo");
// We need the following lines: // We need the following lines:
// core id : 4 // core id : 4
// cpu MHz : 4052.941 // cpu MHz : 4052.941
// They contain tabs and are interspersed with other info. // They contain tabs and are interspersed with other info.
int core_id = 0; int core_id = 0;
while (!buf.eof()) while (!buf.eof())