Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ recipe-465831.py
File
recipe-465831.py
recipes/Python/465831_profiling_threads/recipe-465831.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
time
import
time
2
import
threading
3
import
sys
4
from
collections
import
deque
Callers
nothing calls this directly
Calls
8
profile_on
Function · 0.85
xrange
Class · 0.85
profile_off
Function · 0.85
get_profile_stats
Function · 0.85
T
Class · 0.70
test_function
Function · 0.70
start
Method · 0.45
join
Method · 0.45
Tested by
no test coverage detected