mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 20:31:51 +09:00
Former-commit-id: 68bb33337b78c7357d16a5a3ca47ad5f834f3d08 Former-commit-id: 6c8931a114682d2b1414414484597f5e0d0ca095
14 lines
545 B
TeX
14 lines
545 B
TeX
The Machine API provides means to control the host machine.
|
|
|
|
\section{Functions}
|
|
|
|
\begin{tabularx}{\textwidth}{l l X}
|
|
\textbf{\large Function} & \textbf{\large Return} & \textbf{\large Description}
|
|
\\ \\
|
|
\endhead
|
|
machine.milliTime() & int & Returns how many time the machine is up, in milliseconds (one thousandth of seconds).
|
|
\\ \\
|
|
machine.totalMemory() & int & Returns the total size of the memory installed in the computer, in bytes.
|
|
\\ \\
|
|
machine.freeMemory() & int & Returns the amount of free memory on the computer.
|
|
\end{tabularx} |