MCPcopy Create free account
hub / github.com/eth-easl/dirigent / takeSqrts

Function takeSqrts

workload/http_workload.go:49–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47var machineName string
48
49func takeSqrts() C.double {
50 var tmp C.double // Circumvent compiler optimizations
51 for i := 0; i < ExecUnit; i++ {
52 tmp = C.SQRTSD(C.double(10))
53 }
54 return tmp
55}
56
57func busySpin(multiplier, runtimeMilli uint32) {
58 totalIterations := int(multiplier * runtimeMilli)

Callers 1

busySpinFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected