i'm using this example https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-consumer-pcon.cpp i want to retreive the simulation time , to assign it to a variable if it's possible because i need to divide the simulation period into two and use a loop for , exactly in the Ondata method :
and finally display results with simulation time , how can proceed Thanks
i used Simulator::Now() but it doesn't work