Understanding MapViewer log - total time loading X features

Hi All,
I'm interested in finding out more about how to understand the following lines from the log file.
What I'm unsure about is what "total time loading features" means. For example Theme_14 has a sql exec time of 1797ms, however the total time loading 3 features is 21233ms.
I'm assuming the total time includes the sql exec time. However there is about 20 seconds extra. Understanding this time should allow me to make changes to reduce it.
What is MapViewer doing in that time? / What are the components that make up the "total time loading features"?
Mon Apr 21 14:57:30 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_1 ] sql exec time: 63ms, total time loading 0 features: 63ms.
Mon Apr 21 14:57:30 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_2 ] sql exec time: 422ms, total time loading 0 features: 422ms.
Mon Apr 21 14:57:30 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_3 ] sql exec time: 422ms, total time loading 7 features: 422ms.
Mon Apr 21 14:57:30 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_4 ] sql exec time: 422ms, total time loading 0 features: 422ms.
Mon Apr 21 14:57:30 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_5 ] sql exec time: 516ms, total time loading 0 features: 516ms.
Mon Apr 21 14:57:30 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_6 ] sql exec time: 500ms, total time loading 0 features: 500ms.
Mon Apr 21 14:57:30 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_7 ] sql exec time: 516ms, total time loading 0 features: 516ms.
Mon Apr 21 14:57:30 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_8 ] sql exec time: 422ms, total time loading 5 features: 422ms.
Mon Apr 21 14:57:30 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_9 ] sql exec time: 516ms, total time loading 0 features: 516ms.
Mon Apr 21 14:57:31 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_10 ] sql exec time: 218ms, total time loading 0 features: 218ms.
Mon Apr 21 14:57:31 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_11 ] sql exec time: 437ms, total time loading 12 features: 453ms.
Mon Apr 21 14:57:31 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_12 ] sql exec time: 766ms, total time loading 16 features: 1141ms.
Mon Apr 21 14:57:32 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_13 ] sql exec time: 906ms, total time loading 1 features: 1735ms.
Mon Apr 21 14:57:51 EST 2008 DEBUG [oracle.sdovis.theme.pgtp] [ THEME_14 ] sql exec time: 1797ms, total time loading 3 features: 21233ms.
Mon Apr 21 14:57:51 EST 2008 INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 21233ms.
Your time is appreciated. Any other comments are also welcome.

Hi,
the "total time loading features" includes the whole process to prepare the theme data. It includes the SQL execution time plus the data fetching plus some other minor tasks which do not affect much the final total time. So basically look for the SQL exec time and the fetching/loading of data. In your case, the fetching/loading of THEME_14 geometries is taking too long. Also the SQL exec time for just 3 features seems high. For the fetching, check if the geometries are too detailed (too may points), and for the SQL check if you can improve it (the log, in finest mode, also shows the query executed).
Joao

Similar Messages

  • Loading (point) features takes MapViewer 20 times sql exec time?

    I have a map which contains only one theme which shows 14500 point geometries stored in a table (accessed via a view). Rendering the map takes a long time, more than 22 secs. Looking at the log from MapViewer it seems like the sql execution time is not the problem, also in a sql editor the query is fast. Labeling and rendering is fast too. CPU is not very busy while rendering the map, memory usage is under 70 MB. The problem seems to be loading the features after executing the sql query.
    This is the logging:
    06/01/24 08:46:23 Tue Jan 24 08:46:23 CET 2006 DEBUG [oracle.sdovis.theme.pgtp] [ STOFFEN_INSTALLATIES ] sql exec time: 100ms, total time loading 14593 features: 21401ms.
    06/01/24 08:56:32 Tue Jan 24 08:56:32 CET 2006 INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 21221ms.
    06/01/24 08:56:32 Tue Jan 24 08:56:32 CET 2006 FINEST [oracle.sdovis.RE] xfm: 0.0377536231884058 0.0 0.0 -0.0377536231884058 -2650.2018115942033 17432.848768115942
    06/01/24 08:56:33 Tue Jan 24 08:56:33 CET 2006 DEBUG [oracle.sdovis.VectorRenderer] time to render theme STOFFEN_INSTALLATIES with 14593 styled features: 951ms
    06/01/24 08:56:33 Tue Jan 24 08:56:33 CET 2006 DEBUG [oracle.sdovis.VectorRenderer] time to label theme STOFFEN_INSTALLATIES with 14593 styled features: 0ms
    06/01/24 08:56:33 Tue Jan 24 08:56:33 CET 2006 INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 951ms
    06/01/24 08:56:33 Tue Jan 24 08:56:33 CET 2006 DEBUG [oracle.lbs.mapserver.core.MapperPool] freeMapper() begins...
    06/01/24 08:56:33 Tue Jan 24 08:56:33 CET 2006 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] preparation time: 0ms
    06/01/24 08:56:33 Tue Jan 24 08:56:33 CET 2006 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] querying/rendering time: 22182ms
    06/01/24 08:56:33 Tue Jan 24 08:56:33 CET 2006 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] packing time: 60ms
    06/01/24 08:56:33 Tue Jan 24 08:56:33 CET 2006 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] --------------- total time: 22242ms
    22 seconds is too long for our application. Does anyone know what could be wrong and what I could do to improve this?
    Thanks in advance,
    Ida

    22 secs seems too long.
    I tried something similar on old Sun Sparc (Ultra 60) machines. db on one Sun box, MV on another. Both on same local network.
    SQL> select count(1) from openls_dir_businesses where country_subdivision='MD' ;
    COUNT(1)
    24638
    No indexes, no other optimizations
    Fetching and rendering 24638 points took 19 secs or so.
    Fetch time 10 secs, render time 9 secs.
    Tue Jan 24 15:09:01 EST 2006 INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 10741ms.
    Tue Jan 24 15:09:10 EST 2006 INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 9083ms

  • Total Time Processed- As Error Log in XI

    Hi,
    I want to know if there are any means in XI to produce the Time to process an individual message in XI as the Output of XI. something like sending the total time taken to process the current XI message to a target system like a File server or Mail server.
    Any inputs ?
    Thanks
    Krishna

    HI,
    Murthy, we cant estimate the complete time taken to complete the flow of data, but we can see at what time the message was executed.. so roughly based on the load of data which flows in b/w sender and receiver determines the time interval.. i mean if any conditional based routing is used in the scenario in such cases it takes some milliseconds more, but unfortunately we dont have any specfic tool or option to calculate this.. if needed we may record at what time the file is dropped and what time the file is executed and the time the file reached to the target based on that manually we may estimate..
    regards,
    Kishore

  • Log for Change of Real-Time Load Behavior

    Hi experts,
    is there a log for the change of the real-time load behavior?
    I checked SLG1, but I did not find any object / subobject that seemed to be helpful.
    Angie

    Firstly,
    How are you changing the real-time load behavior, are you using any process chain variant,in that case you can look at the process chain log..

  • Total Time Of Load as on date

    Hi,
    There was initialization done around year back and there are deltas comming in i want to find the total time since start.
    Is it possible???
    thanx
    sachin k

    Hi Sachin
    RSA1 -> Infosource -> Infopackage -> Scheduler(tab in menu) -> Select "Init options in Spource system"
    There you can get the date and time it was done.
    Or other option is
    Infoprovider -> Manage -> check the time stamp for first request and latest time stamp. That will give you the total time.
    I hope this is what you are looking for.
    Regards,
    Rohihni
    Dont forget to assign points if it helps...
    Message was edited by: Rohini Garg

  • Capturing total time for a report..

    Hi all..
    I have a query. Is there a way to capture total time spent to show a report on browser
    If I understand the way it works in OBIEE
    Browser -Presentation Services -- HTTP Request or Response (This we can see by increasing sawlog config file to see more details in sawlog0.)
    Presentation services - BI Server (By Usage Tracking S_NQ_* tables, it gives response time, elapsed time and such statstics)
    BI Server - DB ( The query running time also captured in usage tracking table)
    My understanding is on whole when Presentation services pass the request to BI Server..and when it BI server returns the data to Presentation services..
    There shoud some COMMON PARAMETER to match the request sent and received ..Mapping the requests...
    Is there a way to get that parameter/variable/sytem variable..so that I can accomplish objective of tracking total time spend for a request..
    I could increase saw log and see there is no common parameter that I could match from Sawlog to NQQuery Log, but no luck
    Can anybody help here to find someway? any pointers?
    Thanks in advance..

    There is no parameter that captures the browser rendering time of the report. In the manage sessions if you check the report run time stats you should be able to find the elapsed time, db connect time and compilation time
    To find a more accurate time to render the report and the time when it has become active you can check that information Under Manage sessions in the RPD. That will give the start time and report active time which is the time at which the report is active.
    If you closely monitor this time in the sessions will be a little higher than the time present in the view logs elapsed time which includes the browser rendering time as well because it gives the report active time on it.
    Hope it will be helpful
    thanks
    prash

  • MapViewer long preparation time

    When MapViewer is not used for more than 1 hour it takes a very long time to produce the first map. After that the same map is produced in less than 2 seconds. In the MapViewer logfile I see a long preparation time. What can be the reason?
    Wed May 28 17:28:39 CEST 2008 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] preparation time: 105344ms
    Wed May 28 17:28:39 CEST 2008 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] querying/rendering time: 1031ms
    Wed May 28 17:28:39 CEST 2008 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] packing time: 203ms
    Wed May 28 17:28:39 CEST 2008 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] --------------- total time: 106578ms
    Wed May 28 17:28:39 CEST 2008 DEBUG [oracle.lbs.mapserver.core.MapperPool] freeMapper() begins...
    Wed May 28 17:28:39 CEST 2008 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] preparation time: 275343ms
    Wed May 28 17:28:39 CEST 2008 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] querying/rendering time: 1063ms
    Wed May 28 17:28:39 CEST 2008 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] packing time: 187ms
    Wed May 28 17:28:39 CEST 2008 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] --------------- total time: 276593ms

    Which MapViewer version are you using?
    You may have more log messages before the preparation time log. If you have, please post the previous lines of log.
    Joao

  • Understanding http log

    Hi,
    I know that the doc did specify a very high level of understanding the log:
    dateTime hostName processName[pid]: category logLevel: eventMessage
    However I have couple of questions here:
    Q1) Why is there different IP addresses shown? 129.2.20.19 is the load balancer and 136.14.130.21 is from PC.
    Q2) What is the difference between the 2 time stamps, one at the beginning and one at the end of each entry?
    Example: ..03/Jun/2005:14:58:00....14:56:57 0:01:03.....
    [03/Jun/2005:14:58:00 +0800] mux1 httpd[10763]: Account Notice: close [129.2.20.19] [unauthenticated] 2005/6/3 14:58:00 0:00:00 19 149 0
    [03/Jun/2005:14:58:00 +0800] mux1 httpd[10763]: Account Notice: close [192.168.48.109] [unauthenticated] 2005/6/3 14:58:00 0:00:00 623 262 0
    [03/Jun/2005:14:58:00 +0800] mux1 httpd[10763]: Account Notice: close [136.14.130.21] [unauthenticated] 2005/6/3 14:56:57 0:01:03 1330 604 0
    [03/Jun/2005:14:58:00 +0800] mux1 httpd[10763]: Account Notice: close [136.14.130.21] [unauthenticated] 2005/6/3 14:56:56 0:01:04 2435 3698 0

    Hi,
    I know that the doc did specify a very high level of
    understanding the log:
    dateTime hostName processName[pid]: category
    logLevel: eventMessage
    However I have couple of questions here:
    Q1) Why is there different IP addresses shown?
    129.2.20.19 is the load balancer and 136.14.130.21
    1 is from PC.The ip is the address of the system that connected. It's reporting that. If one of your users connected directly, then his ip is reported. We must know the ip where the connection is happening, if we're going to have ip security.
    Q2) What is the difference between the 2 time stamps,
    one at the beginning and one at the end of each
    entry?Login time vs log out time? I'm not exactly sure, myself.
    Why is this important to you? The timestamp on the left is the logout time.
    >
    Example: ..03/Jun/2005:14:58:00....14:56:57
    0:01:03.....
    [03/Jun/2005:14:58:00 +0800] mux1 httpd[10763]:
    Account Notice: close [129.2.20.19] [unauthenticated]
    2005/6/3 14:58:00 0:00:00 19 149 0
    [03/Jun/2005:14:58:00 +0800] mux1 httpd[10763]:
    Account Notice: close [192.168.48.109]
    [unauthenticated] 2005/6/3 14:58:00 0:00:00 623 262
    0
    [03/Jun/2005:14:58:00 +0800] mux1 httpd[10763]:
    Account Notice: close [136.14.130.21]
    [unauthenticated] 2005/6/3 14:56:57 0:01:03 1330 604
    0
    [03/Jun/2005:14:58:00 +0800] mux1 httpd[10763]:
    Account Notice: close [136.14.130.21]
    [unauthenticated] 2005/6/3 14:56:56 0:01:04 2435 3698
    0

  • How do get particular date of total time

    this is our java code
        private static PreparedStatement preparedStatement;
        private static ResultSet rs;
        public static void main(String[] args) throws NamingException, SQLException
            int objectId;
            int clientId;
             DateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
            // String gpstime = null;
             PreparedStatement preparedStatement = null;
             Connection conn=null;
             long mill;
             long diffSeconds=0;
             long diffMinutes=0;
             try
              Class.forName("com.mysql.jdbc.Driver");
            Connection conn1=DriverManager.getConnection("jdbc:mysql://108.108.8.4:3306/navl?","root", "ajmani@%");
            preparedStatement = conn1.prepareStatement("select gpstime from xydata a inner join fm4features f on a.ID=f.ID where a.objectId= '18'  AND a.clientId = '1' AND a.gpstime > '2010-05-11 00:00:00'  AND a.gpstime < '2010-05-13 23:59:59' AND f.DataId='1' AND f.value = '1'");
            rs = preparedStatement.executeQuery();
            int a = 0;
            int b=0;
             int b1=0;
             int b2=0;
             int x=0;
             float secs = 0;
            Set<String> dates = new HashSet<String>();
            ArrayList<Integer> l=new ArrayList<Integer>();
              Timestamp t1 = null;
              Timestamp t2 = null;
              int count  = 0;
              while ( rs.next() )
                    String gpstime = rs.getString("GpsTime");
                 if (dates.add(gpstime) )
                     //System.out.println(rs.getTimestamp(1));
                     t2 =   rs.getTimestamp(1);
                     count++;
                   if (t1 == null )
                       int nano = t2.getSeconds();
                         System.out.println(nano);
                       System.out.println(nano);
                       System.out.println(t2);
                       System.out.println(count);
                  else
                        mill= (t1.getTime() - t2.getTime())/-1;
                        //System.out.println(mill);
                        diffSeconds = mill / 1000;
                        diffMinutes = mill / (60 * 1000);
                        long diffHours = mill / (60 * 60 * 1000);
                        long diffDays = mill / (24 * 60 * 60 * 1000);
                        //System.out.println("\nThe Date Different");
                        //System.out.println("Time in milliseconds: " + mill+ " milliseconds.");
                        System.out.println("GPSTime " +gpstime+ " Time in seconds: " + diffSeconds+ " seconds.");
                        //System.out.println("Time in minutes: " + diffMinutes+ " minutes.");
                        //System.out.println("Time in hours: " + diffHours+ " hours.");
                        //System.out.println("Time in days: " + diffDays+ " days.");
                  t1 = t2;
                //System.out.println("Time in minutes: " + diffSeconds+ " seconds.");
                if(diffSeconds < 80)
                  b=(int) diffSeconds;
                  System.out.println(b);
                  l.add(b);
                 else if(diffSeconds > 80)
                    b2=(int)diffSeconds%60;
                    System.out.println(b2);
                    l.add(b2);
                 a++;
              for (int i=0; i<l.size();)
                  secs+=l.get(i);
                  i++;
                 System.out.println(secs);
                 int hours = (int) (secs / 3600),
                 remainder = (int) (secs % 3600),
                 minutes = remainder / 60,
                 seconds = remainder % 60;
                    String disHour = (hours < 10 ? "0" : "") + hours,
                    disMinu = (minutes < 10 ? "0" : "") + minutes ,
                    disSec = (seconds < 10 ? "0" : "") + seconds ;
                    if (count < 2)
                        int se = Integer.parseInt(disSec);
                        String min = (t2.getSeconds() < 10 ? "0" : "") + t2.getSeconds();
                        System.out.println("00" + ":" +  "00" + ":" + min + " hh:mm:ss");
                    System.out.println(disHour +":"+ disMinu+":"+disSec+ " hh:mm:ss");
             }catch(Throwable th)
               Logger.getLogger(testing1.class.getName()).log(Level.SEVERE, null, th);
             }finally
               if(preparedStatement!=null)
                   preparedStatement.close();
               if(conn!=null)
                   conn.close();
    }this is output
    GPSTime 2010-05-13 20:16:13.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:17:10.0 Time in seconds: 57 seconds.
    57
    GPSTime 2010-05-13 20:18:10.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:19:10.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:20:10.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:21:11.0 Time in seconds: 61 seconds.
    61
    GPSTime 2010-05-13 20:22:11.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:23:11.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:24:11.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:25:11.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:26:11.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:27:11.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:28:12.0 Time in seconds: 61 seconds.
    61
    GPSTime 2010-05-13 20:29:12.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:30:12.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:31:12.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:32:12.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:37:46.0 Time in seconds: 334 seconds.
    34
    GPSTime 2010-05-13 20:38:46.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:47:22.0 Time in seconds: 516 seconds.
    36
    GPSTime 2010-05-13 21:12:54.0 Time in seconds: 1532 seconds.
    32
    GPSTime 2010-05-13 21:13:54.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 21:14:55.0 Time in seconds: 61 seconds.
    61
    GPSTime 2010-05-13 21:37:08.0 Time in seconds: 1333 seconds.
    13
    GPSTime 2010-05-13 21:38:09.0 Time in seconds: 61 seconds.
    61
    31169.0
    08:39:29 hh:mm:ssi am getting the total time for all date
    i need only the particular date of total time
    2010-05-11-->total time
    2010-05-12->Total time
    2010-05-13->total time
    how do i change the given code to get the above output
    please help me anybody having idea

    Bakthavachalam wrote:
    i am getting the total time for all date
    i need only the particular date of total timeIn which case your while(rs.next()) loop needs to process 1 day at a time and print its results when the date changes (assuming your Timestamps come in in date sequence; if not, you'll have to sort them first).
    I suspect you'll also have to decide what you want to do with
    GPSTime 2010-05-13 23:59:59.0
    followed by
    GPSTime 2010-05-14 00:00:01.0
    Do you still need to calculate the difference? And if so, which "date" does it go in, or is it split?
    Your logic seems incredibly convoluted for such a simple task. What exactly are you trying to do?
    Winston
    BTW: TimeStamp.getSeconds() is deprecated, which means you use it at your peril.

  • Calculating total time from a query

    Hi everyone,
    I have a simple database and one of the fields in this
    database is time spent on stuff, for example a bike ride lasted
    00:45:00, 01:33:03, 01:23:03 ETC
    what I am trying to do is calculate total time. so do a sum
    of that column.
    Simple enough.
    the column is a VarChar, I tried Time as well and well that
    did not go well.
    if I use mysql command line I get this:
    mysql> SELECT SUM(mv_time) FROM data WHERE user_id = 2;
    +--------------+
    | SUM(mv_time) |
    +--------------+
    | 8 |
    +--------------+
    1 row in set (0.00 sec)
    No idea how it came up with that one as 8 is incorrect
    so I got a bit fancier:
    mysql> SELECT SEC_TO_TIME(SUM(TIME_TO_SEC(mv_time))) AS
    mv_time FROM data WHERE user_id = 2;
    +----------+
    | mv_time |
    +----------+
    | 26:14:58 |
    +----------+
    1 row in set (0.00 sec)
    Bingo that is correct.
    but if I use that same query within cfquery I get a nice java
    error telling that you can't have 26 hours in a single day.
    Any ideas how I can accomplish this should be simple task?
    Thank you.
    Luc

    Hi Cf_dev2,
    How would I go about making easy for my users to submit the
    seconds into the database?
    for example I would want them (them being me really :) ) to
    enter 01:35:00 (for one hour and 35 minutes) and then have CF or
    SQL convert that to seconds (instead of having myself figure that
    out manually I am no good at math)
    Jdeline, I don't understand what you mean by not storing it
    as comma delimited, as far as I know its not comma delimited, its
    stored in a table called data along with a primary key id, userid,
    date, etc
    Thanks
    Luc

  • Trying to understand tnfdump log

    Hi,
    I am tracing a pthread and socket program to see where the bottleneck is as it is slow. However I am not sure which value to use for the tracing of the program. This is my tnfdump log
    Here should I be using the Elapsed(ms) or Delta(ms). Is the elapsed ms the difference between 1 probe to the next probe or is it from the time of execution of the thread. And what is the use of delta ms in tnfprobe. I have looked at the man page and can't figure out which exactly to use but seem to think that I must actually use the elapsed ms value.
    probe      tnf_name: "CreateDirectoryListLock" tnf_string: "keys dirLock;file server.cpp;line 85;lock probe"
    probe      tnf_name: "CreateDirectoryListUnLock" tnf_string: "keys dirUnLock;file server.cpp;line 98;lock probe"
        Elapsed (ms)       Delta (ms)   PID LWPID    TID     CPU Probe Name                Data / Description . . .
            0.000000         0.000000   560     2          2   - CreateDirectoryListLock 
            2.025600         2.025600   560     2          2   - CreateDirectoryListUnLock
         2330.131300      2328.105700   560     3          3   - CreateDirectoryListLock 
         2330.814200         0.682900   560     3          3   - CreateDirectoryListUnLock
         2359.534100        28.719900   560     4          4   - CreateDirectoryListLock 
         2362.301400         2.767300   560     4          4   - CreateDirectoryListUnLock
       121831.409000    119469.107600   560     5          5   - CreateDirectoryListLock 
       121832.529800         1.120800   560     5          5   - CreateDirectoryListUnLock
       241825.055500    119992.525700   560     6          6   - CreateDirectoryListLock 
       241826.863900         1.808400   560     6          6   - CreateDirectoryListUnLock
       361843.852800    120016.988900   560     7          7   - CreateDirectoryListLock 
       361845.274200         1.421400   560     7          7   - CreateDirectoryListUnLock
       481808.093500    119962.819300   560     8          8   - CreateDirectoryListLock 
       481811.186100         3.092600   560     8          8   - CreateDirectoryListUnLock
       600918.163300    119106.977200   560     9          9   - CreateDirectoryListLock 
       600920.073700         1.910400   560     9          9   - CreateDirectoryListUnLock
       720949.697800    120029.624100   560    11         11   - CreateDirectoryListLock 
       720950.982800         1.285000   560    12         12   - CreateDirectoryListLock 
       720952.478200         1.495400   560    11         11   - CreateDirectoryListUnLock
       720952.631000         0.152800   560    13         13   - CreateDirectoryListLock 
       720952.779300         0.148300   560    14         14   - CreateDirectoryListLock 
       720953.293700         0.514400   560    12         12   - CreateDirectoryListUnLock
       720953.871400         0.577700   560    14         14   - CreateDirectoryListUnLock
       720958.510100         4.638700   560    13         13   - CreateDirectoryListUnLock
       840819.169500    119860.659400   560    15         15   - CreateDirectoryListLock 
       840821.008100         1.838600   560    15         15   - CreateDirectoryListUnLock
       840826.577000         5.568900   560    16         16   - CreateDirectoryListLock 
       840827.569300         0.992300   560    16         16   - CreateDirectoryListUnLock
       840943.204100       115.634800   560    17         17   - CreateDirectoryListLock 
       840944.322900         1.118800   560    17         17   - CreateDirectoryListUnLock
       840945.879700         1.556800   560    18         18   - CreateDirectoryListLock 
       840946.726800         0.847100   560    18         18   - CreateDirectoryListUnLock
       840952.077300         5.350500   560    19         19   - CreateDirectoryListLock 
       840954.662500         2.585200   560    19         19   - CreateDirectoryListUnLock
       960820.765400    119866.102900   560    23         23   - CreateDirectoryListLock 
       960821.055500         0.290100   560    22         22   - CreateDirectoryListLock 
       960823.139700         2.084200   560    23         23   - CreateDirectoryListUnLock
       960824.194500         1.054800   560    22         22   - CreateDirectoryListUnLock
       960828.089500         3.895000   560    20         20   - CreateDirectoryListLock 
       960828.799600         0.710100   560    20         20   - CreateDirectoryListUnLock
       960833.269600         4.470000   560    24         24   - CreateDirectoryListLock 
       960833.566100         0.296500   560    21         21   - CreateDirectoryListLock 
       960834.277400         0.711300   560    24         24   - CreateDirectoryListUnLock
       960834.884300         0.606900   560    21         21   - CreateDirectoryListUnLock
       960851.947900        17.063600   560    25         25   - CreateDirectoryListLock 
       960852.362500         0.414600   560    25         25   - CreateDirectoryListUnLockThanks

    Elasped is total time since the trace start.
    Delta is time since previous probe.
    If you do the math you should see that adding all the deltas to a particular point is the same as the elapsed at that point.
    Darren

  • Calculating total time.

    I'm somewhat new to using spreadsheets. Basically I just want to keep track of the time I spend doing a particular job. So I'm tracking my start time, end time, and then I want to calculate the total time spent. Thanks.

    Yes, I thought about that. But if you start at say
    9pm and end at 2am you would get the incorrect result
    of 7 hours. I think I have to convert the time to
    something else before the math takes place. But I'm
    not sure how that would work.
    I'm not sure how you managed to subtract 9pm from 2pm and get 7 hours. When I try 2am - 9pm, I get #VALUE!, as AppleWorks reads both 'times' as text, and cannot use Text values in a formula that requires numbers. AppleWorks is a bit fussy on what it considers to be a number.
    Using the default alignment, you can recognize what AppleWorks thinks is a number—it will be aligned to the right of the cell—and what AW considers to be Text—it will be aligned to the left of the cell. In the case of Time, you're better off using the 24 hour clock, and entering one minute betore 2pm as 13:59.
    The Mac clock's unit of time is the (24 hour) Day, and all times entered are regarded as the portion of one day that has elapsed up to that time. When you do the subtraction, the result is also a time of day. For start and end times within the same calendar day, simply doing the subtraction will give a result that can be read as the (correct) elapsed time. For the example times you gave, the 'correct' result is also visible:
    02:00 - 21:00 = 05:00
    But the actual numbers behind that 05:00 result and the two times used to get it are the portion of the current day that has passed up to each of the times entered, and the difference obtained when you do the subtraction:
    0.0833 - 0.8750 = -0.7917
    If you only want the (readable) result for a single day, that's not a problem. But if you want to add the results to get a total time for a week, you need to (make AppleWorks) do some additional math. In simplest terms, you need to add 1 to the end time if the end time is on the calendar day after the start time. There's an explanation of this below, which you should read for a better understanding of Time and the Mac, but which isn't necessary to use the formula.
    The formula assumes your start time is in column B, your end time in column C, your formula reporting time worked is in column D, and that you will enter times in rows 2..6, and calculate the week's sum in D7
    Enter in D2, and fill down to D6: =IF(C2,C2-B2+(C2<B2),"")
    Format these cells to display as Time.
    Enter in D7: =24(SUM(D2..D6)) —to report the result in hours (eg. 25.678)
    Format the cell to display as Number, General.
    or
    Enter in D7: =INT(24(SUM(D2..D6))&":"MINUTE(SUM(D2..D6)) —to report the result as hours and minutes
    Note that the second option for D7 produces a text string which will not be useable in further calculations.
    This is Text, so no Number formatting is necessary.
    Regards,
    Barry
    Time and the Mac
    The Mac clock tracks time in Days and Fractions of a Day, starting at midnight, January 1, 1904.
    Nine PM today, May 8, 2006, represented as a decimal number, is 37383.875. Two AM tomorrow, May 9, 2006, is 37384.0833333333.
    An AppleWorks spreadsheet cell (or database field) formatted to display as Time will ignore the whole number part of those numbers, and interpret the decimal fraction part as Time of Day, and display the result in the Time format you have chosen for the cell.
    A cell (or field) formatted to display as a Date will ignore the fractional part of the number, and display the whole number part in the Date format you have chosen.
    When you enter a time, the result is the time of day on January 1, 1904. When calculating elapsed times where start and end times cross the midnight boundary, you need to add 1 (day) to the result to compensate for the change in day and get a result that can be used in further calculations. That's what the "+(C2<B2)" part of the first formula above does—adds 1 if "(C2<B2)" is TRUE or adds 0 it it's false.
    If you add times, the result is 'correct', but if the total reaches 24 hours, the displayed result will appear incorrect as a Time formatted cell ignores the whole number part of the actual result (eg. 27 hours, or 1.25 days), will display as 03:00, the same as 3 hours, or 0.25 days. You can convert the result to hours and fractions of hours by simply multiplying the result by 24, and displaying it as a Number rather than as Time.
    B

  • Get the flv total time in AS2

    Hi.
    I am loading a flv video in AS2:
    var conexion:NetConnection = new NetConnection();
    conexion.connect(null);
    var stream:NetStream = new NetStream(conexion);
    mi_video.attachVideo(stream);
    stream.play("motto.flv");
    this.onEnterFrame = function() {
        if (stream.time>0) {
            var integer:String = String((stream.time*.0166) >> 0);
            var decimal:String = String((stream.time%60) >> 0);
            timer_txt.text = ((integer.length<2) ? "0"+integer : integer)+":"+((decimal.length<2) ? "0"+decimal : decimal)
        } else {
            timer_txt.text = String("00:00");
    It wokrs very good, In this line, I get de current time of the flv:
    timer_txt.text = ((integer.length<2) ? "0"+integer : integer)+":"+((decimal.length<2) ? "0"+decimal : decimal)
    An I need to display the total time too..
    By the way, I am not using the any flv component, I need to play the video in a custom player....
    Thanks

    I answer myself:
    stream.onMetaData = function(info:Object) {
            var totalInteger:String = String((info.duration*.0166) >> 0);
            var totalDecimal:String = String((info.duration%60) >> 0);
            total = ((totalInteger.length<2) ? "0"+totalInteger : totalInteger)+":"+((totalDecimal.length<2) ? "0"+totalDecimal : totalDecimal);

  • Manged to get separate test ant - can't understand error log

    Hi,
    I managed to get a simple example of Junit running through ANT building but not testing correctly.
    my example test class looks like:
    package com.sims.test;
    public class HelloWorldTest extends junit.framework.TestCase {
        public void testNothing() {
        public void testWillAlwaysFail() {
            assertEquals("", "");
    }this runs fine through eclipse with as a JUnit application.
    my buildfile looks like:
    <project name="TestHelloWorld" default="test" basedir=".">
         <property name="test" location="C:/myProjects/runway_core/guitools/sims/build/classes/com/sims/test"/>
         <property name="tests.src" location="${basedir}"/>
         <path id="test.class.path">
         <pathelement path="C:/eclipse-SDK-3.2.1-win32/eclipse/plugins/org.junit_3.8.1/junit.jar"/>                   
         <!-- the test classes are all in here -->
         <pathelement location="${test}"/>
         </path>
         <!-- Build of the Junit test -->
         <target name="build-tests" description="Build the Junit test">
           <javac srcdir="${tests.src}" destdir="${test}">
             <classpath refid="test.class.path"/>
           </javac>
         </target>
         <!-- Run of the Junit test -->
         <target name="test" description="Run the Junit test"
                    depends="build-tests">
           <junit printsummary="yes" haltonfailure="no">
             <classpath refid="test.class.path"/>
               <formatter type="plain"/>
               <test name="com.sims.test.HelloWorldTest" outfile="result"
                        todir="${test}"/>
           </junit>
         </target> 
         </project>Now it build fine, but when I click on 'test' in the Ant perspective of Eclipse it returns:
    Buildfile: C:\myProjects\runway_core\guitools\sims\src\com\sims\test\fileListingbuild.xml
    build-tests:
    test:
    [junit] Running com.sims.test.HelloWorldTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    [junit] Test com.sims.test.HelloWorldTest FAILED
    BUILD SUCCESSFUL
    Total time: 1 second
    to the console.
    and there is a log file with:
    Testsuite: com.sims.test.HelloWorldTest
    Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
         Caused an ERROR
    com.sims.test.HelloWorldTest
    java.lang.ClassNotFoundException: com.sims.test.HelloWorldTest
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
         at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
         at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
    I know I probably am doing something simple wrong but can't figure it out.
    Thanks,
    Tri

    java.lang.ClassNotFoundException: com.sims.test.HelloWorldTestThat's about as clear as they get right there.
    Check your CLASSPATH and make sure that your "[subfolders]/com/sims/test" directory is included there.

  • Interaction Center scenario: total time when agent is "not ready"

    Hi,
    I have a requirement to show the total time when an agent is "not ready" in IC. I know an agent is either "ready" (to pick up calls) or "not ready". Any idea which business content handles this?
    Thanks!

    As thomascollins said, you can build an Agent Management workflow. A couple of comments though.
    A lot of our agents have multiple extensions on their phone.  If they are talking on a non queue extension they let the queue extension ring out putting them in a "not Ready" State.
    It would be better if the agent went "not ready" immediately they take a call on their non-contact center line to prevent RONA which is not providing your customers with the best possible service. The routing engine will select another available agent. This positive action by the agent will remind them to take the inverse action and make themselves ready when they finish their call on their non-CC line (well, maybe ).
    Requested FunctionalityProvide Queue supervisors with an alert through email or another method to let them know that an agent have gone into a "Not Ready" State.
    You would not want this alert done immediately - the poor supervisors would get hammered. Perhaps an alert if an agent is in the "not ready" state for more than (say) 5 minutes. Of course, this now means that the not ready state is useless for meetings, short breaks, lunch and so on - and agents would have to logout for those. Not a problem, and logging out is my preferred method. Just making an observation.
    Regards,
    Geoff

Maybe you are looking for

  • Error occured in transferrules

    Hi,     I am extracting the 0material data from r/3 to bw side.after replicating datasources.i will attached to infosource. next when we double click on infopackage saying transferrules are inactive.when iam activating that transfer rules the error w

  • BPM Suite vs BPA suite

    Hello All, Can any one tell me the difference between these 2 products and for what purpose they used. It would be great if you explain using real time scenario. Thanks, AB

  • How to see all my reviews?

    Is there any way to list all my reviews in the iTunes store?

  • Recovery Not Completely Deleting All Files

    I wanted to have a clean start but after two recovery tries I am unsuccessful.  The first time I tried to use the recovery from my hard drive but programs I had installed are still showing up and even files such as pictures and music are still there.

  • You tube viewing

    My you tube viewing is very slow all of the sudden and I don't know why what can I do?