Re: [Cppcms-users] Execution/Page render time
Brought to you by:
artyom-beilis
From: Marcel H. <ke...@co...> - 2012-03-29 07:21:39
|
if you want the time from the request start until the end you can use the virtual method init and clear. dont know if there are other solutions. http://cppcms.com/cppcms_ref/latest/classcppcms_1_1application.html -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. Vicente Benavent <za...@gm...> schrieb: Well thank you for the help! it is so fast! I have implemented std::chrono, because I want to show the execution time on the page, but when is the correct time of render so its as accurate as possible, below is the algorithm I want to implement, but when or where should be the time started and where should the time be ended so its as realistic as possible (since here I'm skipping render time I'm only using the login time) void intro() { //get start time content::master c; //load files and sessions, logic of the page //get end time and send it to the view render render("intro",c); //or get the time end on the view itself (.tmpl) } is there a way I should implement it? maybe on other overloaded functions? or something like preload, to get as realistic as it can be? |