Edit report at https://bugs.php.net/bug.php?id=65717&edit=1

 ID:                 65717
 Comment by:         metamarkers at gmail dot com
 Reported by:        addw at phcomp dot co dot uk
 Summary:            stat() should supply nano second granularity
 Status:             Open
 Type:               Feature/Change Request
 Package:            Filesystem function related
 Operating System:   Any
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

What would be a use case of this? Is there something inherently wrong with unix 
timestamps? Hardware has millisecond latency, I don't understand where having 
granularity down to the CPU cycle would be significant.


Previous Comments:
------------------------------------------------------------------------
[2013-09-19 21:54:21] addw at phcomp dot co dot uk

Description:
------------
Some systems (eg Linux on kernel > 2.5.48) the 3 timestamp fields may be 
available with  resolution of nanosecond. If these are available stat() should 
return in the array 3 extra members : atimensec, ctimensec and mtimensec.

The resolution available also depends on the underlying file system.



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=65717&edit=1

Reply via email to