mirror of
https://github.com/urbit/shrub.git
synced 2024-12-20 09:21:42 +03:00
vere: tweaks pier/lord info printfs
This commit is contained in:
parent
0f54d25d8e
commit
57967b35fb
@ -1211,6 +1211,11 @@
|
||||
void
|
||||
u3_newt_read(u3_moat* mot_u);
|
||||
|
||||
/* u3_newt_moat_info(); print status info.
|
||||
*/
|
||||
void
|
||||
u3_newt_moat_info(u3_moat* mot_u);
|
||||
|
||||
/* u3_newt_moat_stop(); newt stop/close input stream.
|
||||
*/
|
||||
void
|
||||
|
@ -365,6 +365,24 @@ u3_newt_read(u3_moat* mot_u)
|
||||
_newt_read_init(mot_u, _newt_read_cb);
|
||||
}
|
||||
|
||||
/* u3_newt_moat_info(); print status info.
|
||||
*/
|
||||
void
|
||||
u3_newt_moat_info(u3_moat* mot_u)
|
||||
{
|
||||
u3_meat* met_u = mot_u->ext_u;
|
||||
c3_w len_w = 0;
|
||||
|
||||
while ( met_u ) {
|
||||
len_w++;
|
||||
met_u = met_u->nex_u;
|
||||
}
|
||||
|
||||
if ( len_w ) {
|
||||
u3l_log(" newt: %u inbound ipc messages pending\n", len_w);
|
||||
}
|
||||
}
|
||||
|
||||
/* n_req: write request for newt
|
||||
*/
|
||||
typedef struct _n_req {
|
||||
|
@ -1028,8 +1028,7 @@ u3_pier_info(u3_pier* pir_u)
|
||||
{
|
||||
u3_work* wok_u = pir_u->wok_u;
|
||||
|
||||
u3l_log(" effects:\n");
|
||||
u3l_log(" released: %" PRIu64 "\n", wok_u->fec_u.rel_d);
|
||||
u3l_log(" effects: released=%" PRIu64 "\n", wok_u->fec_u.rel_d);
|
||||
|
||||
if ( wok_u->fec_u.ext_u ) {
|
||||
if ( wok_u->fec_u.ext_u != wok_u->fec_u.ent_u ) {
|
||||
@ -1044,7 +1043,7 @@ u3_pier_info(u3_pier* pir_u)
|
||||
}
|
||||
|
||||
if ( wok_u->wal_u ) {
|
||||
u3l_log("wall: %" PRIu64 "\n", wok_u->wal_u->eve_d);
|
||||
u3l_log(" wall: %" PRIu64 "\n", wok_u->wal_u->eve_d);
|
||||
}
|
||||
|
||||
if ( wok_u->car_u ) {
|
||||
|
Loading…
Reference in New Issue
Block a user