mirror of https://gitee.com/bigwinds/arangodb
manualy unification of JS_ProcessStatistics in devel and 2.0
This commit is contained in:
parent
272aa89904
commit
6385569dec
|
@ -1779,7 +1779,7 @@ static v8::Handle<v8::Value> JS_ProcessStatistics (v8::Arguments const& argv) {
|
|||
double rssp = 0;
|
||||
|
||||
if (TRI_PhysicalMemory != 0) {
|
||||
rssp = rss / TRI_PhysicalMemory;
|
||||
rssp = 100.0 * rss / TRI_PhysicalMemory;
|
||||
}
|
||||
|
||||
result->Set(v8::String::New("minorPageFaults"), v8::Number::New((double) info._minorPageFaults));
|
||||
|
|
Loading…
Reference in New Issue