small addition

This commit is contained in:
2023-12-30 19:04:59 +01:00
parent 562e82999b
commit 908e48db0d

View File

@ -46,7 +46,7 @@ Boot {
(configPath ? (this.localPath +/+ "Startup.scd")).load;
StageLimiter.activate;
this.fancyPrint(ready, 40);
// this.installServerTreeBehavior();
this.installServerTreeBehavior();
});
}
@ -68,10 +68,10 @@ Boot {
*installServerTreeBehavior {
CmdPeriod.add({
"Dummy text".postln;
// var text = "Bubo SuperCollider Session\n Tempo: % =-= CPU: %".format(
// this.clock.tempo * 60, Server.default.avgCPU.round(2)
// );
this.fancyPrint("\nBubo SuperCollider Session\nTempo: % | Peers: %\nCPU: % | Peak: %\n".format(
this.clock.tempo * 60, this.clock.numPeers,
Server.default.avgCPU.round(2),
Server.default.peakCPU.round(2)), 40)
}, Server.default);
}