diff options
Diffstat (limited to 'GradeBook_lib.tcl')
-rwxr-xr-x | GradeBook_lib.tcl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl index 69385e7..f0c2440 100755 --- a/GradeBook_lib.tcl +++ b/GradeBook_lib.tcl @@ -552,7 +552,11 @@ proc htmlTop {permission_list} { proc htmlFooter {permission_list} { array set permission $permission_list global VERSION + global execution_start_time + set execution_end_time [clock microseconds] + set execution_time [ format "%.3g" [expr { ($execution_end_time - $execution_start_time)/1e6}] ] puts "<div class=\"footer\">" + puts "Execution time $execution_time seconds. <br>" puts "GradeBook $VERSION code is written by Eugeniy E. Mikhailov" puts "</div>" } |