diff options
Diffstat (limited to 'crates/profile/src/lib.rs')
-rw-r--r-- | crates/profile/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/profile/src/lib.rs b/crates/profile/src/lib.rs index a31fb8f43..7cd01a7df 100644 --- a/crates/profile/src/lib.rs +++ b/crates/profile/src/lib.rs | |||
@@ -124,5 +124,5 @@ impl Drop for CpuSpan { | |||
124 | } | 124 | } |
125 | 125 | ||
126 | pub fn memory_usage() -> MemoryUsage { | 126 | pub fn memory_usage() -> MemoryUsage { |
127 | MemoryUsage::current() | 127 | MemoryUsage::now() |
128 | } | 128 | } |