interplane.Get Omega
Read in your language

omega-dnn

aien-dev/omega-dnn

Brought by drakestapleton

branch main Branches Tags History

omega-dnn / evidence / STACK7-GPU-20261026 / gpu-bench / held.sh

7 lines · 207 bytes Raw Blame History
1#!/bin/sh
2# Runs under flock: reports how long the lock was held (acquire to command exit) on stderr.
3t0=$(date +%s.%N)
4"$@"; rc=$?
5t1=$(date +%s.%N)
6echo "LOCK_HELD_S $(echo "$t1 - $t0" | bc)" >&2
7exit $rc