mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-06-08 08:13:55 +00:00
12 lines
233 B
Python
12 lines
233 B
Python
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)
|