Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
The Internal Profiler
Calling Sequence
showprofile([procedure, procedure, ...], [sortflag])
Parameters
procedure
-
any valid maple procedure that has already been profiled with profile.
Description
The procedure showprofile displays the runtime information collected for the specified procedures in a tabular format.
If no procedures are specified, all profiled procedures are displayed.
The optional sortflag parameter specifies how entries are sorted in the table. Sort can consist of one of the following:
alpha - sort in alphabetical order by function name
ralpha - sort in reverse alphabetical order by function name
time - sort by increasing amount of CPU time used
rtime - sort by decreasing amount of CPU time used
bytes - sort by increasing amount of storage used
rbytes - sort by decreasing amount of storage used
load - sort by increasing amount of bytes^2*time
rload - sort by decreasing amount of bytes^2*time
If no sortflag is specified, then the default (rload) is used.
If showprofile is successful, it returns NULL on exit.
Examples
fib:=proc(n) option remember; if n<2 then n else fib(n-1)+fib(n-2) end if; end proc:
f:=proc(x) x; end proc:
function depth calls time time% bytes bytes% --------------------------------------------------------------------------- fib 5 9 0.000 0.00 6168 97.72 --------------------------------------------------------------------------- total: 6 10 0.000 0.00 6312 100.00
function depth calls time time% bytes bytes% --------------------------------------------------------------------------- f 1 1 0.000 0.00 144 2.28 fib 5 9 0.000 0.00 6168 97.72 --------------------------------------------------------------------------- total: 6 10 0.000 0.00 6312 100.00
function depth calls time time% bytes bytes% --------------------------------------------------------------------------- fib 5 9 0.000 0.00 6168 97.72 f 1 1 0.000 0.00 144 2.28 --------------------------------------------------------------------------- total: 6 10 0.000 0.00 6312 100.00
See Also
excallgraph, exprofile, profile, unprofile
Download Help Document