HP IO Accelerator for BladeSystem c-Class Performance Tuning Instrukcja Użytkownika Strona 28

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 33
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 27
Programming using direct I/O 28
exit(ret);
}
do {
ret = file.write(buf, bufsize);
if( ret < 0 ) {
cerr << endl << "Error writing bytes to " << FILENAME <<
". written=" << file.gbytesWritten() << "GBytes";
cerr << ", errno=" << errno << " " << strerror(errno) << endl;
} else {
cout << ".";
}
} while( ret > 0 );
if( ret >= 0 )
cout << endl << "Wrote " << file.gbytesWritten() << "GBytes" <<
endl;
free(buf);
return ret;
}
Przeglądanie stron 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33

Komentarze do niniejszej Instrukcji

Brak uwag