I'm not sure it is possible to gain higher time resolution without changing software versions.
On an existing system you can create your own time function that stores the SYSTEM(12) value in named common.
For subsequent calls, if the system(12) value matches the named common value, add your own counter. as a decimal suffix (storing that in named common as well). If the system(12) value differs then update your named common values and return.
This might not give you specific call times/durations, but it will give you an execution sequence.
------------------------------
Gregor Scott
Software Architect
Pentana Solutions
Mount Waverley VIC Australia
------------------------------
Original Message:
Sent: 06-18-2021 10:39
From: Steve Mayo
Subject: Higher resolution than SYSTEM(12)
I am in the process of debugging several hundred calls from UniObjects to host routines. I wrote a debug program that gives me SYSTEM(11), the call stack and other items that are written to a file. The problem is that when I sort the file by the CPU time (SYSTEM(11)) there are several (5) calls all at the same time.
Is there a way to get a time that has a higher resolution than just milliseconds?
TIA,
Steve
------------------------------
Steve Mayo
Software Engineer
basys
------------------------------