mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 13:17:49 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
MPPIPE=/tmp/.microprofilecspipe
|
||||
while true;
|
||||
do
|
||||
echo "DTrace run; output file: $MPPIPE"
|
||||
mkfifo $MPPIPE
|
||||
dtrace -q -n fbt::thread_dispatch:return'{printf("MPTD %x %x %x\n", cpu, tid, machtimestamp)}' -o $MPPIPE
|
||||
rm $MPPIPE
|
||||
read -p "DTrace run finished, press Enter to restart..."
|
||||
done
|
||||
Reference in New Issue
Block a user