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
Add MSG_file_tell function and prepare MSG_file_seek
[simgrid.git]
/
src
/
surf
/
workstation.cpp
diff --git
a/src/surf/workstation.cpp
b/src/surf/workstation.cpp
index
ea90f8b
..
ff9c71a
100644
(file)
--- a/
src/surf/workstation.cpp
+++ b/
src/surf/workstation.cpp
@@
-376,6
+376,10
@@
xbt_dynar_t WorkstationCLM03::getInfo( surf_file_t fd)
return info;
}
return info;
}
+sg_size_t WorkstationCLM03::fileTell(surf_file_t fd){
+ return fd->current_position;
+}
+
sg_size_t WorkstationCLM03::getFreeSize(const char* name)
{
StoragePtr st = findStorageOnMountList(name);
sg_size_t WorkstationCLM03::getFreeSize(const char* name)
{
StoragePtr st = findStorageOnMountList(name);