[Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/wustl/apps/Agilla/types
ExpLogger.h, 1.2, 1.3
Chien-Liang Fok
chien-liang at users.sourceforge.net
Sat Apr 8 14:27:40 PDT 2006
Update of /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/types
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3691/types
Modified Files:
ExpLogger.h
Log Message:
Added some trace messages
Index: ExpLogger.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/types/ExpLogger.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ExpLogger.h 7 Apr 2006 01:14:53 -0000 1.2
--- ExpLogger.h 8 Apr 2006 21:27:36 -0000 1.3
***************
*** 41,47 ****
enum {
AGENT_MOVED = 0,
! QUERY_ISSUED = 1,
! QUERY_RESULTS_RECEIVED = 2,
! SET_CLUSTER_HEAD = 3
} AgillaTraceConstants;
--- 41,60 ----
enum {
AGENT_MOVED = 0,
! QUERY_GET_LOCATION_ISSUED = 1,
! QUERY_GET_LOCATION_RESULTS_RECEIVED = 2,
! QUERY_GET_LOCATION_FORWARDED = 3,
! QUERY_GET_LOCATION_RESULTS_FORWARDED = 4,
! SET_CLUSTER_HEAD = 5,
! AGENT_MIGRATING = 6,
! STATE_ACCEPTED = 7,
! CODE_ACCEPTED = 8,
! HEAP_ACCEPTED = 9,
! OPSTACK_ACCEPTED = 10,
! RXN_ACCEPTED = 11,
! STATE_REJECTED = 12,
! CODE_REJECTED = 13,
! HEAP_REJECTED = 14,
! OPSTACK_REJECTED = 15,
! RXN_REJECTED = 16
} AgillaTraceConstants;
***************
*** 53,62 ****
typedef struct AgillaTraceMsg {
tos_time_t timestamp; // 8 bytes
! uint16_t agentID;
! uint16_t nodeID;
! uint16_t action;
! uint16_t success;
AgillaLocation loc; // 4 bytes
! } AgillaTraceMsg;
#endif
--- 66,76 ----
typedef struct AgillaTraceMsg {
tos_time_t timestamp; // 8 bytes
! uint16_t agentID; // 2 bytes
! uint16_t nodeID; // 2 bytes
! uint16_t action; // 2 bytes
! uint16_t qid; // 2 bytes: query id
! uint16_t success; // 2 bytes
AgillaLocation loc; // 4 bytes
! } AgillaTraceMsg; // 22 bytes
#endif
More information about the Tinyos-contrib-commits
mailing list