mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 06:35:27 +00:00
Fix typo.
This commit is contained in:
parent
b91df4af23
commit
29903c07f9
|
@ -14,7 +14,7 @@ class MemoryLeak(regress.RegressTest):
|
||||||
elif platform.system() == "Linux":
|
elif platform.system() == "Linux":
|
||||||
rusage_multiplier = 1024
|
rusage_multiplier = 1024
|
||||||
else:
|
else:
|
||||||
# resource.getrusage(...) is platform dependent. Only tested under Mac and Linux.
|
# resource.getrusage(...) is platform dependent. Only tested under OS X and Linux.
|
||||||
return
|
return
|
||||||
max_rss_before = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss * rusage_multiplier
|
max_rss_before = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss * rusage_multiplier
|
||||||
for i in xrange(10000):
|
for i in xrange(10000):
|
||||||
|
|
Loading…
Reference in a new issue