Home
last modified time | relevance | path

Searched refs:cpuUsage (Results 1 – 9 of 9) sorted by relevance

/third_party/node/test/parallel/
Dtest-process-cpuUsage.js4 const result = process.cpuUsage();
10 validateResult(process.cpuUsage(result));
14 let lastUsage = process.cpuUsage();
16 thisUsage = process.cpuUsage();
27 startUsage = process.cpuUsage();
28 diffUsage = process.cpuUsage(startUsage);
37 () => process.cpuUsage(1),
53 () => process.cpuUsage(value),
68 () => process.cpuUsage(value),
84 () => process.cpuUsage(value),
[all …]
/third_party/node/test/pummel/
Dtest-process-cpuUsage.js5 const start = process.cpuUsage();
18 const diff = process.cpuUsage(start);
/third_party/node/lib/internal/process/
Dper_thread.js52 cpuUsage: _cpuUsage,
67 function cpuUsage(prevValue) { function
243 cpuUsage,
/third_party/node/lib/internal/bootstrap/
Dnode.js86 process.cpuUsage = wrapped.cpuUsage;
/third_party/node/doc/api/
Dprocess.md828 ## `process.cpuUsage([previousValue])`
834 `process.cpuUsage()`
839 The `process.cpuUsage()` method returns the user and system CPU time usage of
845 The result of a previous call to `process.cpuUsage()` can be passed as the
849 const startUsage = process.cpuUsage();
856 console.log(process.cpuUsage(startUsage));
2122 It is the same value as [`process.cpuUsage().user`][process.cpuUsage].
2124 It is the same value as [`process.cpuUsage().system`][process.cpuUsage].
2796 [process.cpuUsage]: #process_process_cpuusage_previousvalue
Derrors.md763 The native call from `process.cpuUsage` could not be processed.
/third_party/node/doc/changelogs/
DCHANGELOG_V6.md2496 …s/node/commit/e4e9f675d2)] - **test**: improve the code in test-process-cpuUsage (Adrian Estrada) …
3831 …s/node/commit/7f34cc3e03)] - **doc**: correct argument type for process.cpuUsage (Simen Bekkhus) […
4496 …dejs/node/commit/e1fb4805cf)] - **doc**: add `added:` info for `process.cpuUsage` (Anna Henningsen…
4728 * **process**: Introduced `process.cpuUsage()`. (Patrick Mueller) [#6157](https://github.com/nodejs…
4784 …/node/commit/1b9fdba04e)] - **(SEMVER-MINOR)** **process**: add process.cpuUsage() - implementatio…
DCHANGELOG_V4.md430 …s/node/commit/53b0f413cd)] - **test**: improve the code in test-process-cpuUsage (Adrian Estrada) …
488 * add process.cpuUsage() (Patrick Mueller) [#10796](https://github.com/nodejs/node/pull/10796)
527 …/node/commit/7a9c8d8f10)] - **(SEMVER-MINOR)** **process**: add process.cpuUsage() - implementatio…
DCHANGELOG_V7.md1169 …s/node/commit/7165f1d409)] - **test**: improve the code in test-process-cpuUsage (Adrian Estrada) …