Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

age of tile

Intel_C_Intel
Employee
372 Views
I can use API routines to obtain current time and file creation time. I can obtain time in SYSTEMTIME or FILETIME format. I prefer FILETIME which is 64-bit.

How do I subtract two FILETIME structures to get file age ?
0 Kudos
1 Reply
Jugoslav_Dujic
Valued Contributor II
372 Views
If you have CVF6.5 or later, you can EQUIVALENCE a FILETIME structure with (or TRANSFER it into) an INTEGER(8). Then you can do normal integer arithmetic on it.

Jugoslav
0 Kudos
Reply