equal
deleted
inserted
replaced
250 kernel_line += "Windows kernel\n"; |
250 kernel_line += "Windows kernel\n"; |
251 #endif |
251 #endif |
252 #ifdef Q_WS_X11 |
252 #ifdef Q_WS_X11 |
253 number_of_cores += QString::number(sysconf(_SC_NPROCESSORS_ONLN)) + "\n"; |
253 number_of_cores += QString::number(sysconf(_SC_NPROCESSORS_ONLN)) + "\n"; |
254 long pages = sysconf(_SC_PHYS_PAGES), |
254 long pages = sysconf(_SC_PHYS_PAGES), |
|
255 /* |
255 #ifndef Q_OS_FREEBSD |
256 #ifndef Q_OS_FREEBSD |
256 available_pages = sysconf(_SC_AVPHYS_PAGES), |
257 available_pages = sysconf(_SC_AVPHYS_PAGES), |
257 #else |
258 #else |
258 available_pages = 0, |
259 available_pages = 0, |
259 #endif |
260 #endif*/ |
260 page_size = sysconf(_SC_PAGE_SIZE); |
261 page_size = sysconf(_SC_PAGE_SIZE); |
261 total_ram += QString::number(pages * page_size) + "\n"; |
262 total_ram += QString::number(pages * page_size) + "\n"; |
262 os_version += "GNU/Linux or BSD\n"; |
263 os_version += "GNU/Linux or BSD\n"; |
263 #endif |
264 #endif |
264 |
265 |