Friday, August 1, 2014

Write C++ Code Process Time on Console

#include <time.h>
time_t start,end;
time (&start);
.
.
.
<code>
.
.
.
time (&end);
double dif = difftime (end,start);
cout<< "Elasped time is " << dif <<" seconds." << "\n" << endl;

No comments:

Post a Comment

Setting Jupyter and Tensorflow on Google Cloud Platform

https://towardsdatascience.com/running-jupyter-notebook-in-google-cloud-platform-in-15-min-61e16da34d52