fix key for disk metrics, but wtf it still worked fine
This commit is contained in:
parent
311c1a2f1c
commit
3e3e117f18
|
@ -1483,7 +1483,7 @@ static int get_disk_metrics(sigar_t *sigar,
|
||||||
{
|
{
|
||||||
DWORD i, err;
|
DWORD i, err;
|
||||||
PERF_OBJECT_TYPE *object =
|
PERF_OBJECT_TYPE *object =
|
||||||
get_perf_object(sigar, PERF_TITLE_CPU_KEY, &err);
|
get_perf_object(sigar, PERF_TITLE_DISK_KEY, &err);
|
||||||
PERF_INSTANCE_DEFINITION *inst;
|
PERF_INSTANCE_DEFINITION *inst;
|
||||||
PERF_COUNTER_DEFINITION *counter;
|
PERF_COUNTER_DEFINITION *counter;
|
||||||
DWORD perf_offsets[PERF_IX_DISK_MAX];
|
DWORD perf_offsets[PERF_IX_DISK_MAX];
|
||||||
|
|
Loading…
Reference in New Issue