summaryrefslogtreecommitdiffstats
path: root/app/perfattributes.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/perfattributes.h')
-rw-r--r--app/perfattributes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/perfattributes.h b/app/perfattributes.h
index 5d60852..85fd7ae 100644
--- a/app/perfattributes.h
+++ b/app/perfattributes.h
@@ -48,6 +48,8 @@ public:
quint32 type() const { return m_type; }
quint64 config() const { return m_config; }
int sampleIdOffset() const;
+ bool usesFrequency() const { return m_freq; };
+ quint64 frequenyOrPeriod() const { return m_sampleFreq; }
QByteArray name() const;