In reply to SHRI12326:
No, $display is a procedural statement that does not consume simulated time. If you meant to say CPU time on the host running the simulation, then yes $display can consume CPU time depending on how complex the arguments to $display are.