#
625d3d27 |
| 02-Mar-2024 |
Farzin Monsef |
cygwin: implement uv_resident_set_memory (#4333) According to the documentation for Cygwin, the penultimate field of /proc/pid/stat corresponds to the RSS, so the method is basically
cygwin: implement uv_resident_set_memory (#4333) According to the documentation for Cygwin, the penultimate field of /proc/pid/stat corresponds to the RSS, so the method is basically the same as in the Linux version. The only difference is that getpagesize() will return wincap.allocation_granularity(), but in this mapping, RSS is calculated using wincap.page_size(), which can be accessed by sysinfo.mem_unit.
show more ...
|
#
988d225c |
| 24-Nov-2022 |
Tim Besard |
unix,win: add uv_get_available_memory() (#3754)
|
Revision tags: v1.41.0, v1.40.0, v1.39.0, v1.38.1, v1.38.0, v1.37.0, v1.36.0, v1.35.0, v1.34.2, v1.34.1, v1.34.0, v1.33.1, v1.33.0, v1.32.0 |
|
#
040543ee |
| 17-Aug-2019 |
Santiago Gimeno |
src: move uv_free_cpu_info to uv-common.c PR-URL: https://github.com/libuv/libuv/pull/2433 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.co
src: move uv_free_cpu_info to uv-common.c PR-URL: https://github.com/libuv/libuv/pull/2433 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.31.0, v1.30.1 |
|
#
6b74e7b6 |
| 01-Jul-2019 |
cjihrig |
unix: add uv_get_constrained_memory() cygwin stub PR-URL: https://github.com/libuv/libuv/pull/2361 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
Revision tags: v1.30.0, v1.29.1, v1.29.0, v1.28.0, v1.27.0, v1.26.0, v1.25.0, v1.24.1, v1.24.0, v1.23.2, v1.23.1 |
|
#
95b5df7a |
| 18-Sep-2018 |
cjihrig |
unix: return 0 retrieving rss on cygwin Refs: https://github.com/libuv/libuv/pull/1939 PR-URL: https://github.com/libuv/libuv/pull/1992 Reviewed-By: Santiago Gimeno <santiago.gimeno@
unix: return 0 retrieving rss on cygwin Refs: https://github.com/libuv/libuv/pull/1939 PR-URL: https://github.com/libuv/libuv/pull/1992 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
Revision tags: v1.23.0, v1.22.0, v1.21.0, v1.20.3, v1.20.2, v1.20.1, v1.20.0, v1.19.2, v1.19.1 |
|
#
89cbbc89 |
| 19-Jan-2018 |
Mason X |
include,src: introduce UV__ERR() macro Using -errno, -E**, and -pthread_function() can be error prone, and breaks compatibility with some operating systems that already negate errno'
include,src: introduce UV__ERR() macro Using -errno, -E**, and -pthread_function() can be error prone, and breaks compatibility with some operating systems that already negate errno's (e.g. Haiku). This commit adds a UV__ERR() macro that ensures libuv errors are negative. Fixes: https://github.com/libuv/help/issues/39 PR-URL: https://github.com/libuv/libuv/pull/1687 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.19.0, v1.18.0, v1.17.0, v1.16.1, v1.16.0, v1.15.0, v1.14.1, v1.14.0, v1.13.1, v1.13.0, v1.12.0 |
|
#
6398251a |
| 07-Apr-2017 |
Brad King |
cygwin: implement support for cygwin and msys2 Cygwin and MSYS2 are POSIX layers implemented on top of Windows. Use our POSIX `poll(2)` implementation of our poll abstraction. For mo
cygwin: implement support for cygwin and msys2 Cygwin and MSYS2 are POSIX layers implemented on top of Windows. Use our POSIX `poll(2)` implementation of our poll abstraction. For most other components we already have dedicated sources implementing them in terms of APIs available on Cygwin or providing non-implementations of components not supported. This leaves only three components that need Cygwin-specific implementations: * uv_uptime: implement using sysinfo * uv_resident_set_memory: add a placeholder returning UV_ENOSYS * uv_cpu_info: add a placeholder returning UV_ENOSYS Update our test suite to account for features not available due to Cygwin platform limitations or our placeholders. PR-URL: https://github.com/libuv/libuv/pull/1312 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
Revision tags: v1.11.0, v1.10.2, v1.10.1, v1.10.0, v0.10.37, v1.9.1, v1.9.0, v1.8.0, v1.7.5, v1.7.4, v1.7.3, v1.7.2, v1.7.1, v1.7.0, v1.6.1, v1.6.0, v1.5.0, v0.10.36, v1.4.2, v0.10.35, v1.4.1, v0.10.34, v1.4.0, v1.3.0, v0.10.33, v1.2.1, v1.2.0, v0.10.32, v1.1.0, v0.10.31, v1.0.2, v0.10.30, v1.0.1, v1.0.0, v0.10.29, v1.0.0-rc2, v1.0.0-rc1, v0.11.29, v0.11.28, v0.11.27, v0.10.28, v0.11.26, v0.10.27, v0.11.25, v0.11.24, v0.11.23, v0.10.26, v0.11.22, v0.11.21, v0.11.20, v0.10.25, v0.11.19, v0.10.24, v0.11.18, v0.10.23, v0.10.22, v0.11.17, v0.10.21, v0.11.16, v0.10.20, v0.11.15, v0.10.19, v0.11.14, v0.10.18, v0.10.17, v0.10.16, v0.11.13, v0.11.12, v0.11.11, v0.11.10, v0.10.15, v0.11.9, v0.10.14, v0.11.8, v0.11.7, v0.10.13, v0.11.6, v0.10.12, v0.11.5, v0.10.11, v0.10.10, v0.11.4, v0.10.9, v0.10.8, v0.11.3, v0.10.7, v0.10.6, v0.11.2, v0.10.5 |
|
#
7f8130a2 |
| 18-Apr-2013 |
Ben Noordhuis |
unix: remove src/unix/cygwin.c The cygwin build has been broken for a long time now and no one is complaining, which strongly suggests that no one actually uses it. Remove it. |
Revision tags: v0.10.4, v0.11.1 |
|
#
633d33a9 |
| 10-Apr-2013 |
mscdex |
cygwin: remove unused variable |
#
4d4f1496 |
| 10-Apr-2013 |
Brian White |
windows, unix: remove dead code |
Revision tags: node-v0.11.0, v0.10.2, node-v0.7.3, node-v0.7.7, node-v0.7.5, node-v0.5.3, node-v0.10.1, node-v0.10.0, node-v0.9.12, node-v0.9.11, node-v0.8.21, node-v0.8.19, node-v0.9.10, node-v0.9.7, node-v0.9.6 |
|
#
e62dd3ca |
| 06-Jan-2013 |
Ben Noordhuis |
unix: fix include in cygwin.c |
#
339033af |
| 06-Jan-2013 |
Ben Noordhuis |
unix: use uv__hrtime() internally This commit renames the various uv_hrtime() implementations to uv__hrtime(). Libuv uses the high-res timer internally in performance-critical code
unix: use uv__hrtime() internally This commit renames the various uv_hrtime() implementations to uv__hrtime(). Libuv uses the high-res timer internally in performance-critical code paths. Calling the non-public version avoids going through the PLT when libuv is compiled as a shared object. The exported uv_hrtime() now has a single definition in src/unix/core.c that calls uv__hrtime(). A future optimization is to lift the uv__hrtime() declarations into header files so they can be inlined at the call sites. Then again, linking with -flto should accomplish the same thing.
show more ...
|
Revision tags: node-v0.9.4, node-v0.8.17, node-v0.8.15, node-v0.9.3, node-v0.8.12, node-v0.8.10, node-v0.9.2, node-v0.8.9, node-v0.9.1, node-v0.8.8 |
|
#
201b8f93 |
| 18-Aug-2012 |
Bert Belder |
Merge branch 'v0.8'
|
#
ce87b7e1 |
| 17-Aug-2012 |
Tim Holy |
unix: fix integer overflow in uv_hrtime Conversion to nanoseconds was overflowing with 32-bit builds. |
#
894b0fc0 |
| 17-Aug-2012 |
Ben Noordhuis |
unix: move platform init out of loop.c Move platform-specific initialization logic out of loop.c and into the platform files (freebsd.c, sunos.c, etc). |
Revision tags: node-v0.8.7 |
|
#
837edf4c |
| 09-Aug-2012 |
Ben Noordhuis |
unix, windows: remove handle init counters Remove the handle init counters, no one uses them. |
Revision tags: node-v0.8.6, node-v0.8.5, node-v0.6.21, node-v0.8.3, node-v0.9.0, node-v0.8.2, node-v0.8.1, node-v0.8.0, node-v0.7.12, node-v0.7.11 |
|
#
59cda867 |
| 07-Jun-2012 |
Ben Noordhuis |
unix, test: make NANOSEC a 64 bits unsigned int Avoids accidental overflow / truncation when it's used in 32 bits arithmetic. |
Revision tags: node-v0.7.10, node-v0.6.19, node-v0.7.9, node-v0.6.18, node-v0.6.16, node-v0.6.17, node-v0.7.8, node-v0.6.15 |
|
#
5a8446c3 |
| 04-Apr-2012 |
Ben Noordhuis |
unix: move handle specific close logic out of core.c |
Revision tags: node-v0.6.14, node-v0.6.13, node-v0.7.6 |
|
#
4f1782a5 |
| 06-Mar-2012 |
Frank Denis |
cygwin: we need to include uv-common.h for uv__set_sys_error() |
Revision tags: node-v0.6.12, node-v0.6.11, node-v0.7.4, node-v0.6.10, node-v0.7.2, node-v0.6.9, node-v0.7.1, node-v0.7.0, node-v0.6.8, node-v0.6.7 |
|
#
ba52023e |
| 12-Dec-2011 |
Shigeki Ohtsu |
Fix missing increments of loop->counters |
Revision tags: node-v0.6.6, node-v0.6.4, node-v0.6.3 |
|
#
1b9d00fb |
| 20-Nov-2011 |
Shimon Doodkin |
cygwin: fix undefined _SC_PAGESIZE unistd.h was not included, when tried to build node 0.5.9 had an error of: _SC_PAGESIZE undefined |
Revision tags: node-v0.6.2, node-v0.6.1, node-v0.6.0 |
|
#
1997e10b |
| 05-Nov-2011 |
Bert Belder |
Add flags to uv_fs_event_init |
Revision tags: node-v0.5.10 |
|
#
d3967992 |
| 21-Oct-2011 |
Ben Noordhuis |
Change return type of uv_get_*_memory() functions ... from double to uint64_t. Limit use of floating point in public API as much as possible. |
Revision tags: node-v0.5.9 |
|
#
a35591bb |
| 01-Oct-2011 |
Fedor Indutny |
os: implement loadavg (not working on cygwin/win) |
#
33cb8775 |
| 01-Oct-2011 |
Fedor Indutny |
os: implement memory bindings * us_get_free_memory * us_get_total_memory |