mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
debug output
This commit is contained in:
parent
8ed662cd7b
commit
3c1ac2ee8e
@ -152,12 +152,13 @@ fraction_used() const {
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
void UniqueIdAllocator::
|
void UniqueIdAllocator::
|
||||||
output(ostream& os, bool verbose) const {
|
output(ostream& os, bool verbose) const {
|
||||||
os <<"[_next_free: "<<long(_next_free)
|
os <<"[_min: "<<_min<<"; _max: "<<_max
|
||||||
|
<<";\n_next_free: "<<long(_next_free)
|
||||||
<<"; _last_free: "<<long(_last_free)
|
<<"; _last_free: "<<long(_last_free)
|
||||||
<<"; _size: "<<_size
|
<<"; _size: "<<_size
|
||||||
<<"; _free: "<<_free
|
<<"; _free: "<<_free
|
||||||
<<"; used: "<<_size-_free
|
<<"; used: "<<_size-_free
|
||||||
<<"; %used: "<<float(_size-_free)/_size;
|
<<"; fraction_used: "<<fraction_used();
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
os <<";\n ";
|
os <<";\n ";
|
||||||
for (U32 i=0; i<_size; ++i) {
|
for (U32 i=0; i<_size; ++i) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user