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