mirror of
https://github.com/microsoft/mscclpp.git
synced 2026-05-03 21:21:25 +00:00
* Changed device handle interfaces * Changed proxy service interfaces * Move device code into separate files * Fixed FIFO polling issues * Add configuration arguments in several interface functions --------- Co-authored-by: Changho Hwang <changhohwang@microsoft.com> Co-authored-by: Binyang Li <binyli@microsoft.com> Co-authored-by: root <root@a100-saemal0.qxveptpukjsuthqvv514inp03c.gx.internal.cloudapp.net>
18 lines
258 B
Python
18 lines
258 B
Python
# Copyright (c) Microsoft Corporation.
|
|
# Licensed under the MIT license.
|
|
|
|
import time
|
|
|
|
import mscclpp
|
|
|
|
|
|
def main():
|
|
timer = mscclpp.Timer()
|
|
timer.reset()
|
|
time.sleep(2)
|
|
assert timer.elapsed() >= 2000000
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|