This is a static copy of a profile report

Home

s2hms (1 call, 0.000 sec)
Generated 05-Aug-2011 13:03:56 using cpu time.
function in file /home/LeechJ/cbass_analysis/matutils/dateconv/s2hms.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
greg2function1
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
14
sec=round(rem(sec,60));
10 s0%
13
min=floor(rem(sec,3600)./60);
10 s0%
12
hr=floor(sec./3600);
10 s0%
11
sec=round(secs);
10 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function14
Non-code lines (comments, blank lines)10
Code lines (lines that can run)4
Code lines that did run4
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
1 function [hr,min,sec]=s2hms(secs)
2 % S2HMS: converts seconds to interger hour, minute, and seconds.
3 % [hr,min,sec]=S2HMS(secs) converts seconds to integer hour, minute,
4 % and seconds.
5 %University of Maine Ocean Modelling Group http://rocky.umeoce.maine.edu/hjx/courses/SMS585/my2.5/air_sea/
6 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7 % 3/11/96: version 1.0
8 % 8/5/99: version 2.0
9 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
10
1 11 sec=round(secs);
1 12 hr=floor(sec./3600);
1 13 min=floor(rem(sec,3600)./60);
1 14 sec=round(rem(sec,60));

Other subfunctions in this file are not included in this listing.