mirror of
https://github.com/microsoft/mscclpp.git
synced 2026-05-05 22:22:49 +00:00
Co-authored-by: Olli Saarikivi <olsaarik@microsoft.com> Co-authored-by: Changho Hwang <changhohwang@microsoft.com> Co-authored-by: Binyang Li <binyli@microsoft.com>
15 lines
184 B
Python
15 lines
184 B
Python
import mscclpp
|
|
|
|
import time
|
|
|
|
|
|
def main():
|
|
timer = mscclpp.Timer()
|
|
timer.reset()
|
|
time.sleep(2)
|
|
assert timer.elapsed() >= 2000000
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|