Box | CPU(s) | Memory | MFLOPS (at 50%) | MFLOPS (at 100%) |
Scylandara | Core 2 Duo @ 2,3 GHz | 1GB DDR2 | 766 | 1632 |
Saladrex | Intel Pentium 4 @ 1,8GHZ | 512MB DDR-SDR | N/A | 538 |
And here we go:
Box | CPU(s) | Memory | MFLOPS (at 50%) | MFLOPS (at 100%) |
Scylandara | Core 2 Duo @ 2,3 GHz | 1GB DDR2 | 766 | 1632 |
Saladrex | Intel Pentium 4 @ 1,8GHZ | 512MB DDR-SDR | N/A | 538 |
QPixmap::resize: TODO: resize alpha dataI tried to overlay a battery icon with a fully transparent image just containing a blue bar which I tried to resize according to the percent of battery power left. Ha! Now I have to crop the image to the bar and place it directly in the image... damn.
$ echo hw.syscons.bell=0 >> /etc/sysctl.conf
$ sysctl hw.syscons.bell=0
#pragma pack(push)
#pragma pack(1)
warning: malformed '#pragma pack(push[, id],)' - ignored
#pragma pack(push, 1)
if (!(ioctl (fd, SIOCGIFHWADDR, (char *) &buf[i])))
if ( sysctl(mib, 6, 0, &len, 0, 0) == 0 )
{
buf = new char[len];
if ( sysctl(mib, 6, buf, &len, 0, 0) == 0 )
{
ifm = reinterpret_cast(buf);
sdl = reinterpret_cast(ifm+1);
ptr = reinterpret_cast(LLADDR(sdl));
// Now copy it into our destination buffer
for ( int j = 0; j < 6; ++j )
{
infoarray[i].macaddr[j] = (int)ptr[j];
}
}
}
$ patch global.h < global.h.patch
$ patch networkoperation.cpp < networkoperation.cpp.patch
$ qmake
$ make