Skip to content

Instantly share code, notes, and snippets.

@tueda
Created November 12, 2013 09:19
Show Gist options
  • Save tueda/7427933 to your computer and use it in GitHub Desktop.
Save tueda/7427933 to your computer and use it in GitHub Desktop.
Prints the timing when the Mathematica kernel is terminated.
(*
* Prints the timing when the Mathematica kernel is terminated.
*)
Print["Begin at: ", DateString[]];
$Epilog := (
Print["End at: ", DateString[]];
Print["Elapsed Time: ", SessionTime[]];
Print["CPU Time: ", TimeUsed[]];
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment