The time units and accuracy of Realtime
Opened this issue · 0 comments
xiaoliulivestudy commented
`groupObj = PairingGroup('SS512')
cpabe = CPabe_SP21(groupObj)
def start_bench(group):
group.InitBenchmark()
group.StartBenchmark(["RealTime"])
def end_bench(group):
group.EndBenchmark()
benchmarks = group.GetGeneralBenchmarks()
real_time = benchmarks['RealTime']
return real_time
setup_time=0
for i in range(10):
start_bench(groupObj)
(pk, mk) = cpabe.setup(len(U))
setup_time += end_bench(groupObj)
result.append(setup_time*100)
`
Hello, I would like to inquire about the unit of output for this Readtime? ns or ms