You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/sst/elements/ariel/frontend/pin3/fesimple.cc
+39-1Lines changed: 39 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -845,6 +845,34 @@ int check_for_api_mpi_init() {
845
845
return0;
846
846
}
847
847
848
+
// Must only be called by one thread
849
+
voidmapped_ariel_region_begin(char *region_name)
850
+
{
851
+
return; // Not yet implemented. Potential implementation below.
852
+
/*
853
+
THREADID thr = PIN_ThreadId();
854
+
ArielCommand ac;
855
+
ac.command = ARIEL_REGION_BEGIN; // Does not exist yet
856
+
strncpy(ac.region_name, region_name, ARIEL_REGION_MAX); // Need to send name somehow. Would be nice to do this without blowing up the size of ArielCommand
857
+
// Maybe it makes sense to break this into three different messages, with the middle one possibly larger?
858
+
tunnel->writeMessage(thr, ac);
859
+
*/
860
+
}
861
+
862
+
// Must only be called by one thread
863
+
voidmapped_ariel_region_end(char *region_name)
864
+
{
865
+
return; // Not yet implemented. Potential implementation below.
866
+
/*
867
+
THREADID thr = PIN_ThreadId();
868
+
ArielCommand ac;
869
+
ac.command = ARIEL_REGION_END; // Does not exist yet
870
+
strncpy(ac.region_name, region_name, ARIEL_REGION_MAX); // Need to send name somehow. Would be nice to do this without blowing up the size of ArielCommand
871
+
// Maybe it makes sense to break this into three different messages, with the middle one possibly larger?
0 commit comments