Bert Belder
2e5e1165ce
Tests: don't use %zu placeholder in printf statements
...
It's not supported by msvcrt.
2012-04-11 22:54:02 +02:00
Ben Noordhuis
8ce8bfaa40
test: fix format string warnings
2012-03-21 06:26:10 -07:00
Ben Noordhuis
379ca428ef
test: fix compiler warnings
...
* remove unused variables and functions
* replace %llu with %zu when printing size_t variables
2012-03-16 02:46:51 +01:00
Ben Noordhuis
d396799210
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.
2011-10-21 10:09:59 -07:00
Ben Noordhuis
e0a4e72640
sunos: look up free memory with sysconf(_SC_AVPHYS_PAGES)
2011-10-12 00:27:30 +00:00
Ben Noordhuis
7b01ad1685
test: don't assert that total_mem > free_mem
...
Assertion fails when running in a resource container, like a Solaris zone.
The total reported is the container's hard limit, the free memory that of
the whole system.
2011-10-11 23:49:02 +00:00
Fedor Indutny
33cb8775bc
os: implement memory bindings
...
* us_get_free_memory
* us_get_total_memory
2011-10-04 18:10:35 +02:00