quite impossible that you see this message when doing dynamic linking.
If you compile your code statically (and if you use a pthread version
-of SimGrid -- see \ref faq_more_processes), you must absolutely
+of SimGrid), you must absolutely
specify <tt>-lpthread</tt> on the linker command line. As usual, this should
come after <tt>-lsimgrid</tt> on this command line.
/** @brief Update the latency in seconds of current Link */
virtual void updateLatency(double value, double date=surf_get_clock())=0;
- /** @brief The sharing policy is a @{link #e_surf_link_sharing_policy_t} (0: FATPIPE, 1: SHARED, 2: FULLDUPLEX) */
+ /** @brief The sharing policy is a @{link e_surf_link_sharing_policy_t::EType} (0: FATPIPE, 1: SHARED, 2: FULLDUPLEX) */
virtual int sharingPolicy();
/** @brief Check if the Link is used */
To change the pstate of a given CPU, use the following functions: #MSG_host_get_nb_pstates(), simgrid#s4u#Host#set_pstate(), #MSG_host_get_power_peak_at().
To simulate the energy-related elements, first call the simgrid#energy#sg_energy_plugin_init() before your #MSG_init(),
-and then use the following function to retrieve the consumption of a given host: #MSG_host_get_consumed_energy().
+and then use the following function to retrieve the consumption of a given host: MSG_host_get_consumed_energy().
*/
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_energy, surf,
if($type eq "function") {
print OUTPUT "\t<LI> $name()</LI>\n";
} else {
- print OUTPUT "\t<LI> #$name</LI>\n";
+ if($type eq "enumeration") {
+ print OUTPUT "\t<LI> ".$name."::EType</LI>\n";
+ }
+ else {
+ print OUTPUT "\t<LI> #$name</LI>\n";
+ }
}
}
print OUTPUT "\n </ul>\n";