Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $tcc_avg=0
- $gcc_avg=0
- $times = 1000
- For($i=0; $i -lt $times; $i++){
- $tcc_avg += (Measure-Command { ./bccT afile.bc }).TotalMilliseconds
- $gcc_avg += (Measure-Command { ./bccG afile.bc }).TotalMilliseconds
- }
- $tcc_avg /= $times
- $gcc_avg /= $times
- (echo "tcc = $tcc_avg")
- (echo "gcc = $gcc_avg")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement