Profiler: some changes
This commit is contained in:
@@ -29,8 +29,8 @@ function Profiler:startTimer()
|
||||
end
|
||||
|
||||
---Marks the end time of the timer.
|
||||
function Profiler:endTimer()
|
||||
self.endTime = getUsTime()
|
||||
function Profiler:stopTimer()
|
||||
self.endTime = getUsTime()
|
||||
|
||||
self.deltaTime = self.endTime - self.startTime
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user