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
unprofile - 内部のプロファイリングを中止する
使い方
unprofile(procedure,procedure, ... );
パラメータ
procedure - profile によってすでにプロファイルされている任意の正しい Maple 手続き
説明
手続き unprofile は、プロファイルされた手続きが与えられるとプロファイルされる前の状態に戻します。
手続きを指定しなければ、現在プロファイルされているすべての手続きがもとの状態に戻されます。
手続きのプロファイルが解除されると、その手続きの実行時の情報がすべて失われます。
unprofile が成功すると、それは終了時に NULL を返します。
例
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: profile(fib,f); fib(5);
f(3),f(4);
指定した関数だけを示します。
showprofile(fib);
function depth calls time time% bytes bytes% --------------------------------------------------------------------------- fib 5 9 .010 100.00 6024 96.17 --------------------------------------------------------------------------- total: 6 11 .010 100.00 6264 100.00
すべてを示します。
showprofile();
function depth calls time time% bytes bytes% --------------------------------------------------------------------------- fib 5 9 .010 100.00 6024 96.17 f 1 2 0.000 0.00 240 3.83 --------------------------------------------------------------------------- total: 6 11 .010 100.00 6264 100.00
unprofile(fib);
この関数はもはやプロファイルされていないので、エラーになります。
Error, (in showprofile) fib is not profiled
参照
profile, showprofile, exprofile, excallgraph
Download Help Document