Module: GCTrigger
- Defined in:
- lib/gc-trigger/version.rb,
ext/gc_trigger/gc-trigger.c
Overview
Copyright © 2016 Kouhei Sutou <[email protected]>
This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library. If not, see <www.gnu.org/licenses/>.
Constant Summary collapse
- VERSION =
"1.0.0"
Class Method Summary collapse
Class Method Details
.update_memory_usage(rb_diff) ⇒ Object
58 59 60 61 62 63 64 65 66 67 |
# File 'ext/gc_trigger/gc-trigger.c', line 58
static VALUE
update_memory_usage(VALUE module, VALUE rb_diff)
{
int64_t diff;
diff = NUM2LL(rb_diff);
rb_gc_trigger_update_memory_usage(diff);
return Qnil;
}
|