summaryrefslogtreecommitdiffstats
path: root/grapher/StapParser.hxx
diff options
context:
space:
mode:
authorTim Moore <timoore@redhat.com>2009-12-01 12:02:24 +0100
committerTim Moore <timoore@redhat.com>2009-12-01 12:30:42 +0100
commit572a176d481c329b370ce52e7bec1a49ed76c225 (patch)
treec4979af7c8089124ee0dd30d63ec14864ea0e9f9 /grapher/StapParser.hxx
parent211c338e54b096a41170c5bac99eaf33959076f2 (diff)
downloadsystemtap-steved-572a176d481c329b370ce52e7bec1a49ed76c225.tar.gz
systemtap-steved-572a176d481c329b370ce52e7bec1a49ed76c225.tar.xz
systemtap-steved-572a176d481c329b370ce52e7bec1a49ed76c225.zip
change time type from double to int64_t
* grapher/Graph.hxx (Graph): Change variables holding the time limits of the displayed graph from double to int64_t. * grapher/Graph.cxx (Graph::draw): Do calculations of time differences using int64_t. (Graph::getExtents, Graph::setExtents): Change left and right arguments to int64_t. * grapher/GraphData.hxx (GraphDataBase): Change time type to int64_t. (GraphDataBase::elementAsString): New function. (GraphData::elementAsString): Implementation of that function. * grapher/StapParser.cxx (parseData): Parse time values from the stap script as 64 bit values.
Diffstat (limited to 'grapher/StapParser.hxx')
-rw-r--r--grapher/StapParser.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/grapher/StapParser.hxx b/grapher/StapParser.hxx
index 40add9fd..a77ad1bc 100644
--- a/grapher/StapParser.hxx
+++ b/grapher/StapParser.hxx
@@ -21,7 +21,7 @@ public:
{
}
void parseData(std::tr1::shared_ptr<GraphDataBase> gdata,
- double time, const std::string& dataString);
+ int64_t time, const std::string& dataString);
bool ioCallback(Glib::IOCondition ioCondition);
bool errIoCallback(Glib::IOCondition ioCondition);
int getErrFd() { return _errFd; }