Cognitive processing and time perception