A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kill trailing whitespaces in tesh files (except when testing tesh or log facility).
[simgrid.git]
/
examples
/
c
/
io-disk-raw
/
io-disk-raw.c
diff --git
a/examples/c/io-disk-raw/io-disk-raw.c
b/examples/c/io-disk-raw/io-disk-raw.c
index
c6e4fa7
..
7596b9d
100644
(file)
--- a/
examples/c/io-disk-raw/io-disk-raw.c
+++ b/
examples/c/io-disk-raw/io-disk-raw.c
@@
-15,7
+15,7
@@
#include <stddef.h>
#include <stdlib.h>
#include <stddef.h>
#include <stdlib.h>
-XBT_LOG_NEW_DEFAULT_CATEGORY(disk, "Messages specific for this simulation");
+XBT_LOG_NEW_DEFAULT_CATEGORY(disk
_example
, "Messages specific for this simulation");
static void host(int argc, char* argv[])
{
static void host(int argc, char* argv[])
{
@@
-30,7
+30,7
@@
static void host(int argc, char* argv[])
sg_host_get_disks(sg_host_self(), &disk_count, &disk_list);
for (unsigned int i = 0; i < disk_count; i++)
sg_host_get_disks(sg_host_self(), &disk_count, &disk_list);
for (unsigned int i = 0; i < disk_count; i++)
- XBT_INFO("Disk name: %s (read: %.0f B/s -- write: %.0f B/s
", sg_disk_get_name(disk_list[i]),
+ XBT_INFO("Disk name: %s (read: %.0f B/s -- write: %.0f B/s", sg_disk_get_name(disk_list[i]),
sg_disk_read_bandwidth(disk_list[i]), sg_disk_write_bandwidth(disk_list[i]));
/* - Write 400,000 bytes on Disk1 */
sg_disk_read_bandwidth(disk_list[i]), sg_disk_write_bandwidth(disk_list[i]));
/* - Write 400,000 bytes on Disk1 */