-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[0050] VM Syscalls 3 #418
[0050] VM Syscalls 3 #418
Conversation
ba822fe
to
86b5673
Compare
951e1a2
to
ba75d91
Compare
ba75d91
to
5eaf939
Compare
Co-authored-by: xjd <lynndon@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I understood correctly, all M
in this RFC means Mi
.
According to "ISO/IEC 80000":
-
M
is "mega", it's a metric prefix, it means$10^{6}$ . - To represent
$2^{20}$ , IEC prefixMi
should be used, it's short for "mebi", defined in "IEC 60027-2".
Please add the introduction of Current MemoryGet the Current Memory Usage. The result is the sum of the memory usage of the parent script and the child script. int ckb_current_memory(); The system call returns an integer. Multiply it by 0.5 to get the actual memory usage (unit: megabytes) |
Co-authored-by: Boyu Yang <yangby@cryptape.com>
Already added, please review |
Update 0050-vm-syscalls-3.md
Co-authored-by: ian <me@iany.me>
Preview