aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/sledjchisl/sledjchisl.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 9bbc63b..5f62447 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -918,7 +918,7 @@ int LuaToHash(reqData *Rd, char *file, char *var, qhashtbl_t *tnm, int ret, stru
918 perror_msg("Unable to get the time."); 918 perror_msg("Unable to get the time.");
919 double n = (now->tv_sec * 1000000000.0) + now->tv_nsec; 919 double n = (now->tv_sec * 1000000000.0) + now->tv_nsec;
920 double t = (then.tv_sec * 1000000000.0) + then.tv_nsec; 920 double t = (then.tv_sec * 1000000000.0) + then.tv_nsec;
921 T("Reading %s file took %lf seconds", type, (n - t) / 1000000000.0); 921 t("Reading %s file took %lf seconds", type, (n - t) / 1000000000.0);
922 } 922 }
923 923
924 return ret; 924 return ret;
@@ -3058,7 +3058,7 @@ end:
3058 if (-1 == clock_gettime(CLOCK_REALTIME, &dbLast)) 3058 if (-1 == clock_gettime(CLOCK_REALTIME, &dbLast))
3059 perror_msg("Unable to get the time."); 3059 perror_msg("Unable to get the time.");
3060 n = (dbLast.tv_sec * 1000000000.0) + dbLast.tv_nsec; 3060 n = (dbLast.tv_sec * 1000000000.0) + dbLast.tv_nsec;
3061 T("dbDoSomething(%s) took %lf seconds", req->sql, (n - t) / 1000000000.0); 3061 t("dbDoSomething(%s) took %lf seconds", req->sql, (n - t) / 1000000000.0);
3062 3062
3063 return ret; 3063 return ret;
3064} 3064}
@@ -3134,7 +3134,7 @@ my_ulonglong dbCount(char *table, char *where)
3134 perror_msg("Unable to get the time."); 3134 perror_msg("Unable to get the time.");
3135 double n = (now.tv_sec * 1000000000.0) + now.tv_nsec; 3135 double n = (now.tv_sec * 1000000000.0) + now.tv_nsec;
3136 double t = (then.tv_sec * 1000000000.0) + then.tv_nsec; 3136 double t = (then.tv_sec * 1000000000.0) + then.tv_nsec;
3137// T("dbCount(%s) took %lf seconds", sql, (n - t) / 1000000000.0); 3137// t("dbCount(%s) took %lf seconds", sql, (n - t) / 1000000000.0);
3138 free(sql); 3138 free(sql);
3139 return ret; 3139 return ret;
3140} 3140}
@@ -3183,7 +3183,7 @@ my_ulonglong dbCountJoin(char *table, char *select, char *join, char *where)
3183 perror_msg("Unable to get the time."); 3183 perror_msg("Unable to get the time.");
3184 double n = (now.tv_sec * 1000000000.0) + now.tv_nsec; 3184 double n = (now.tv_sec * 1000000000.0) + now.tv_nsec;
3185 double t = (then.tv_sec * 1000000000.0) + then.tv_nsec; 3185 double t = (then.tv_sec * 1000000000.0) + then.tv_nsec;
3186// T("dbCointJoin(%s) took %lf seconds", sql, (n - t) / 1000000000.0); 3186// t("dbCointJoin(%s) took %lf seconds", sql, (n - t) / 1000000000.0);
3187 free(sql); 3187 free(sql);
3188 return ret; 3188 return ret;
3189} 3189}
@@ -5039,7 +5039,7 @@ notWritten:
5039 char *c = xmprintf("load iar -m %s %s / password /opt/opensim_SC/backups/DefaultMember.IAR", first, last); 5039 char *c = xmprintf("load iar -m %s %s / password /opt/opensim_SC/backups/DefaultMember.IAR", first, last);
5040 5040
5041 I("Loading default member IAR for %s %s in sim %s, this might take a couple of minutes.", first, last, name); 5041 I("Loading default member IAR for %s %s in sim %s, this might take a couple of minutes.", first, last, name);
5042T(c); 5042V(c);
5043 sendTmuxCmd(cmd, c); 5043 sendTmuxCmd(cmd, c);
5044 free(cmd); 5044 free(cmd);
5045 free(c); 5045 free(c);
@@ -7458,7 +7458,7 @@ void sledjchisl_main(void)
7458 int ngroups; 7458 int ngroups;
7459 7459
7460 pw = xgetpwuid(euid); 7460 pw = xgetpwuid(euid);
7461 T("Running as user %s", pw->pw_name); 7461 V("Running as user %s", pw->pw_name);
7462 7462
7463 grp = xgetgrgid(egid); 7463 grp = xgetgrgid(egid);
7464 ngroups = getgroups(i, groups); 7464 ngroups = getgroups(i, groups);