Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
showtime - display time and space statistics for commands
Calling Sequence
showtime()
Description
The showtime function is used to maintain a history of results computed within a Maple session and to display the time and space used by Maple for the execution of each statement.
After loading in showtime, the command on initiates the history mechanism, and the command off terminates it. After entering the command on, you are prompted initially with the prompt O1 := and for successive statements by the prompts numbered O2 :=, O3 :=, and so on.
Any Maple statement entered is evaluated normally, its result returned followed by a line numbered O1, O2, .. with the time taken and the amount of memory used being displayed. The result is assigned to the global variable O1, O2, .. which may be referred to later by the user, thus providing a complete history mechanism.
By entering the command off Maple returns to normal mode using the standard prompt.
Caveats: showtime is an ordinary Maple function, programmed in Maple. As such it cannot trap interrupts. Hence, if you interrupt a calculation you will be thrown back to the main Maple session. The values of O1, O2, .. are still available.
See Also
history, time
Download Help Document