1-3 程?計??????能

bW@`Aڭ̥iHNCӨ禡]]t M ɮסBثO^B⦸ƻPɶέpXӡAåBܦb Profiler sCƹWAprofile OٴѤ@ǫD`K\AiHNҦTHܼƶǦ^AҦpAprofile('status')iǦ^pɾAG

>> status = profile('status') ProfilerStatus: 'off' DetailLevel: 'builtin' Timer: 'cpu' HistoryTracking: 'on' HistorySize: 1000000

өҦpɸTi profile('info') Ǧ^AҦpbe@`Ĥ@ӽdҫAڭ̥iHUFUCOG

>> info = profile('info') info = FunctionTable: [9x1 struct] FunctionHistory: [2x20002 double] ClockPrecision: 1.0000e-003 ClockSpeed: 2.2000e+009 Name: 'MATLAB' Overhead: 0

ɦ^ǭ info.FunctionTable Nbezέp10ӫOΨTAҦpAYnoP inv OpɸTAiJpUG

>> info.FunctionTable(4) ans = CompleteName: [1x65 char] FunctionName: 'mean' FileName: 'C:\Program Files\MATLAB\R2011a\toolbox\matlab\datafun\mean.m' Type: 'M-function' Children: [4x1 struct] Parents: [0x1 struct] ExecutedLines: [4x3 double] IsRecursive: 0 TotalRecursiveTime: 0 PartialData: 0 NumCalls: 1000 TotalTime: 0.0430

yܻApGڭ̭nϥε{XӧC@Ө禡pɵGANiHϥ profile('info') ҶǦ^ӪH FunctionTable ӹFһݪ\C


MATLAB{]pGig