runtime/src/chpl-visual-debug.c
void chpl_vdebug_log_put_nb(void *addr, c_nodeid_t node, void* raddr,
                            int32_t elemSize, int32_t typeIndex,
                            int32_t len, int ln, c_string fn) {
  if (chpl_vdebug) {
    struct timeval tv;
    struct timezone tz = {0,0};
    (void) gettimeofday (&tv, &tz);
    chpl_dprintf (chpl_vdebug_fd, "nb_put: %lld.%06ld %d %d 0x%lx 0x%lx %d %d %d %d %s\n",
                  (long long) tv.tv_sec, (long) tv.tv_usec,  chpl_nodeID, node,
                  (long) addr, (long) raddr, elemSize, typeIndex, len, ln, fn);
  }
}
// Routines to log data ... put here so other places can
// just call this code to get things logged.
Routines to log data ... put here so other places can
just call this code to get things logged.
Routines to log data ... put here so other places can just call this code to get things logged .
void chpl_vdebug_log_put_nb(void *addr, c_nodeid_t node, void* raddr,
                            int32_t elemSize, int32_t typeIndex,
                            int32_t len, int ln, c_string fn) {
  if (chpl_vdebug) {
    struct timeval tv;
    struct timezone tz = {0,0};
    (void) gettimeofday (&tv, &tz);
    chpl_dprintf (chpl_vdebug_fd, "nb_put: %lld.%06ld %d %d 0x%lx 0x%lx %d %d %d %d %s\n",
                  (long long) tv.tv_sec, (long) tv.tv_usec,  chpl_nodeID, node,
                  (long) addr, (long) raddr, elemSize, typeIndex, len, ln, fn);
  }
}
void chpl_vdebug_log_put_nb ( void * addr , c_nodeid_t node , void * raddr , int32_t elemSize , int32_t typeIndex , int32_t len , int ln , c_string fn ) { if ( chpl_vdebug ) { struct timeval tv ; struct timezone tz = { 0 , 0 } ; ( void ) gettimeofday ( & tv , & tz ) ; chpl_dprintf ( chpl_vdebug_fd , " \n " , ( long long ) tv . tv_sec , ( long ) tv . tv_usec , chpl_nodeID , node , ( long ) addr , ( long ) raddr , elemSize , typeIndex , len , ln , fn ) ; } }
Routines to log data ... put here so other places can
just call this code to get things logged.
Routines to log data ... put here so other places can just call this code to get things logged .