Skip to content
Permalink
Browse files

Merge pull request #2843 from Kaiepi/kernel

Document Kernel.free-memory and Kernel.total-memory
  • Loading branch information...
JJ committed Jun 9, 2019
2 parents 560bfa0 + 755b28b commit 61af23c728c3a5976d4c05cbfc5d26952db07999
Showing with 16 additions and 0 deletions.
  1. +16 −0 doc/Type/Kernel.pod6
@@ -53,6 +53,22 @@ Instance / Class method returning the number of CPU cores that are available.
Instance / Class method returning the amount of CPU uses since the start of
the program (in microseconds).
=head2 method free-memory
method free-memory(--> Int)
Instance / Class method returning the available memory on the system. When
using the JVM, this returns the available memory to the JVM instead. This
method is only available in release v2019.06 and later.
=head2 method total-memory
method total-memory(--> Int)
Instance / Class method returning the total memory available to the system.
When using the JVM, this returns the total memory available to the JVM instead.
This method is only available in release v2019.06 and later.
=head2 method desc
method desc(--> Str)

0 comments on commit 61af23c

Please sign in to comment.
You can’t perform that action at this time.