| 152 | } |
| 153 | |
| 154 | U64 |
| 155 | getSystemTotalRAM_conditionnally() |
| 156 | { |
| 157 | if ( isApplication32Bits() ) { |
| 158 | return std::min( (U64)0x100000000ULL, getSystemTotalRAM() ); |
| 159 | } else { |
| 160 | return getSystemTotalRAM(); |
| 161 | } |
| 162 | } |
| 163 | |
| 164 | // prints RAM value as KB, MB or GB |
| 165 | QString |
no test coverage detected