diff options
author | CoprDistGit <infra@openeuler.org> | 2023-07-10 08:10:32 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-07-10 08:10:32 +0000 |
commit | bf5ae974e1c9a904ce6cb2ce42bbc61a563e1ad3 (patch) | |
tree | bd4163e05c4d7b06bd6d394341af38d669cb8786 /time-clock.diff | |
parent | 6a993806e5366cf38f454229aeea6b9e4f4fddb2 (diff) |
automatic import of libsbmlopeneuler20.03
Diffstat (limited to 'time-clock.diff')
-rw-r--r-- | time-clock.diff | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/time-clock.diff b/time-clock.diff new file mode 100644 index 0000000..306d8da --- /dev/null +++ b/time-clock.diff @@ -0,0 +1,20 @@ +--- libSBML-5.18.0-Source/examples/python/readSBML.py~ 2018-04-24 10:35:07.000000000 +0200 ++++ libSBML-5.18.0-Source/examples/python/readSBML.py 2019-06-18 12:09:58.564685207 +0200 +@@ -54,7 +54,7 @@ + return 1 + + filename = args[1] +- current = time.clock() ++ current = time.process_time() + document = readSBML(filename) + + errors = document.getNumErrors() +@@ -62,7 +62,7 @@ + print() + print(" filename: " + filename) + print(" file size: " + str(os.stat(filename).st_size)) +- print(" read time (ms): " + str(time.clock() - current)) ++ print(" read time (ms): " + str(time.process_time() - current)) + print(" validation error(s): " + str(errors)) + print() + document.printErrors() |