+
+void
+IOInterruptEventSource::enablePrimaryInterruptTimestamp(bool enable)
+{
+ if (reserved->statistics) {
+ reserved->statistics->enablePrimaryTimestamp = enable;
+ }
+}
+
+uint64_t
+IOInterruptEventSource::getPrimaryInterruptTimestamp()
+{
+ if (reserved->statistics && reserved->statistics->enablePrimaryTimestamp) {
+ return reserved->statistics->primaryTimestamp;
+ }
+ return -1ULL;
+}