COMP: added ctime header needed for compilation on windows.
Modified the performance profiling output to the console...