diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-03-07 23:20:55 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-03-07 23:20:55 +0000 |
commit | b8eaef64b48170467ee38b8399a951b967f468e6 (patch) | |
tree | 3ce43dc91820e664db77394a6f4d1990cde42d79 | |
parent | 53202e5711f32c80ec89d149da7de72b2a1fc953 (diff) | |
download | libbu++-b8eaef64b48170467ee38b8399a951b967f468e6.tar.gz libbu++-b8eaef64b48170467ee38b8399a951b967f468e6.tar.bz2 libbu++-b8eaef64b48170467ee38b8399a951b967f468e6.tar.xz libbu++-b8eaef64b48170467ee38b8399a951b967f468e6.zip |
Just tweaked the myriad tool, it doesn't enumerate the streams in info mode
now.
Diffstat (limited to '')
-rw-r--r-- | src/tools/myriad.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/myriad.cpp b/src/tools/myriad.cpp index 7d4df75..128f20c 100644 --- a/src/tools/myriad.cpp +++ b/src/tools/myriad.cpp | |||
@@ -125,13 +125,13 @@ int main( int argc, char *argv[] ) | |||
125 | << " Used space: " << m.getTotalUsedBytes() << sio.nl | 125 | << " Used space: " << m.getTotalUsedBytes() << sio.nl |
126 | << " Unused space: " << m.getTotalUnusedBytes() << sio.nl | 126 | << " Unused space: " << m.getTotalUnusedBytes() << sio.nl |
127 | << " % of files: " << (double)(m.getNumBlocks()*m.getBlockSize())/(double)(m.getTotalUsedBytes() + m.getTotalUnusedBytes( 4096 ))*100.0 << sio.nl; | 127 | << " % of files: " << (double)(m.getNumBlocks()*m.getBlockSize())/(double)(m.getTotalUsedBytes() + m.getTotalUnusedBytes( 4096 ))*100.0 << sio.nl; |
128 | Bu::Array<int> aStreams = m.getStreamIds(); | 128 | /* Bu::Array<int> aStreams = m.getStreamIds(); |
129 | sio << " Stream info:" << sio.nl; | 129 | sio << " Stream info:" << sio.nl; |
130 | for( Bu::Array<int>::iterator i = aStreams.begin(); i; i++ ) | 130 | for( Bu::Array<int>::iterator i = aStreams.begin(); i; i++ ) |
131 | { | 131 | { |
132 | sio << " " << Fmt(4) << *i << ") " | 132 | sio << " " << Fmt(4) << *i << ") " |
133 | << m.getStreamSize( *i ) << "b" << sio.nl; | 133 | << m.getStreamSize( *i ) << "b" << sio.nl; |
134 | } | 134 | } */ |
135 | } | 135 | } |
136 | break; | 136 | break; |
137 | 137 | ||