Millisecond resolution in NXSL

Started by johnnyva, March 02, 2021, 09:19:26 PM

Previous topic - Next topic

johnnyva

If I wanted to capture the duration between two points in time within NetXMS using NXSL, is it possible to capture millisecond resolution?

Currently I'm just using time() method at start and end time then calculating diff, but this only gives second resolution.

Victor Kirhenshtein

Currently it's not possible. I just added new function for that - GetCurrentTimeMs(). It will be available in next patch release.

Best regards,
Victor

johnnyva