perfsonar-dev - r1452 - trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: r1452 - trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType
- Date: Tue, 18 Jul 2006 10:01:03 -0400
Author: mac
Date: 2006-07-18 10:01:01 -0400 (Tue, 18 Jul 2006)
New Revision: 1452
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/XmlTypeLSServiceEngine.java
Log:
time measurement added
Modified:
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/XmlTypeLSServiceEngine.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/XmlTypeLSServiceEngine.java
2006-07-18 13:54:43 UTC (rev 1451)
+++
trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType/XmlTypeLSServiceEngine.java
2006-07-18 14:01:01 UTC (rev 1452)
@@ -138,7 +138,9 @@
Message request)
throws SystemException, RequestException, DataFormatException{
- System.out.println(" LS0,"+System.currentTimeMillis());
+ //measure time
+ long t1 = System.currentTimeMillis();
+
logger.debug("XmlTypeLSServiceEngine: takeAction for action [" +
actionType+"]");
@@ -209,11 +211,15 @@
}
+ //measure time
+ long t2 = System.currentTimeMillis();
+ logger.info("XML LS Service Engine action ["+actionType+"] took
["+(t2-t1)+"ms]");
+
// ------end of serving actions
---------------------------------------
//Return Response Message
- System.out.println(" LSaux,"+System.currentTimeMillis());
+
return response;
} //takeAction
- r1452 - trunk/perfsonar/src/org/perfsonar/service/lookupService/xmlType, svnlog, 07/18/2006
Archive powered by MHonArc 2.6.16.