blob: 32854e7bf65dd397e1e50a94b7067d140ebd9ee0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import pybullet as p
import time
p.connect(p.GUI)
t = time.time() + 0.1
logId = p.startStateLogging(p.STATE_LOGGING_PROFILE_TIMINGS, "haha")
while (time.time() < t):
p.submitProfileTiming("pythontest")
p.stopStateLogging(logId)
|