mirror of https://gitee.com/bigwinds/arangodb
changed name of value in statistics
This commit is contained in:
parent
bfb35a4b3c
commit
83b525c5d6
|
@ -1415,7 +1415,7 @@ static v8::Handle<v8::Value> JS_Output (v8::Arguments const& argv) {
|
||||||
/// - systemTime: Amount of time that this process has been scheduled
|
/// - systemTime: Amount of time that this process has been scheduled
|
||||||
/// in kernel mode, measured in clock ticks.
|
/// in kernel mode, measured in clock ticks.
|
||||||
///
|
///
|
||||||
/// - numberThreads: Number of threads in this process.
|
/// - numberOfThreads: Number of threads in this process.
|
||||||
///
|
///
|
||||||
/// - residentSize: Resident Set Size: number of pages the process has
|
/// - residentSize: Resident Set Size: number of pages the process has
|
||||||
/// in real memory. This is just the pages which count toward text,
|
/// in real memory. This is just the pages which count toward text,
|
||||||
|
@ -1438,7 +1438,7 @@ static v8::Handle<v8::Value> JS_ProcessStat (v8::Arguments const& argv) {
|
||||||
result->Set(v8::String::New("majorPageFaults"), v8::Number::New((double) info._majorPageFaults));
|
result->Set(v8::String::New("majorPageFaults"), v8::Number::New((double) info._majorPageFaults));
|
||||||
result->Set(v8::String::New("userTime"), v8::Number::New((double) info._userTime / (double) info._scClkTck));
|
result->Set(v8::String::New("userTime"), v8::Number::New((double) info._userTime / (double) info._scClkTck));
|
||||||
result->Set(v8::String::New("systemTime"), v8::Number::New((double) info._systemTime / (double) info._scClkTck));
|
result->Set(v8::String::New("systemTime"), v8::Number::New((double) info._systemTime / (double) info._scClkTck));
|
||||||
result->Set(v8::String::New("numberThreads"), v8::Number::New((double) info._numberThreads));
|
result->Set(v8::String::New("numberOfThreads"), v8::Number::New((double) info._numberThreads));
|
||||||
result->Set(v8::String::New("residentSize"), v8::Number::New((double) info._residentSize));
|
result->Set(v8::String::New("residentSize"), v8::Number::New((double) info._residentSize));
|
||||||
result->Set(v8::String::New("virtualSize"), v8::Number::New((double) info._virtualSize));
|
result->Set(v8::String::New("virtualSize"), v8::Number::New((double) info._virtualSize));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue