Reimplemented spark_wiring_time using GNU C library (time.h)