Is it good practice to call ftime()
function in an Interrupt service routine(ISR) in C?
I have written an ISR that reads the buffer from I/O Device when particular interrupt(data ready) is generated.(only one interrupt is handled).
I want to track last time that particular interrupt is received.
Since ISRs have to be as small as possible,is it worth to add one more line to get time using ftime()
?
Target OS is MS-DOS.
Thanks in advance.