mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Update AsynchronousMetrics.cpp
This commit is contained in:
parent
059a2704d0
commit
477fbc70f8
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user