time calculation

[b]Hi,
I am trying to calculate the relative time by the following command line:

T relativeTime= plb::TimeCounter::getTime();

but I have the following error:

error: cannot call member function ‘plb::pluint plb::TimeCounter::getTime() const’ without object

any suggestion to fix the problem.

Thanks[/b]