Last active
December 31, 2015 07:09
-
-
Save onionhammer/7952099 to your computer and use it in GitHub Desktop.
Times leak?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os, times | |
var i = 0 | |
while true: | |
var t = getTime() | |
var l = t.getLocalTime() | |
var g = t.getGMTime() | |
if i mod 100 == 0: | |
echo "memory: ", getOccupiedMem() | |
i = 0 | |
inc(i) | |
sleep(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment