diff --git a/README.md b/README.md index 9c33cc4..9b29325 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,15 @@ $ gops memstats (|) If you want to force run garbage collection on the target program, run `gc`. It will block until the GC is completed. +#### $gops setgc (\|\) + +Sets the garbage collection target to a certain percentage. +The following command sets it to 10%: + +``` sh +$ gops setgc (|) 10 +``` + #### $ gops version (\|\)