Browse Source

Fix typo in starpu_perfmodel_history_based_expected_perf function name, and add link from doc

Samuel Thibault 9 years ago
parent
commit
f5e6f57930

+ 3 - 1
doc/doxygen/chapters/13offline_performance_tools.doxy

@@ -176,7 +176,9 @@ $ starpu_fxt_tool -i filename
 This will create a <c>tasks.rec</c> file in the current directory.  This file
 is in the recutils format, i.e. <c>Field: value</c> lines, and empty lines to
 separate each task.  This can be used as a convenient input for various ad-hoc
-analysis tools.
+analysis tools.  The performance models can be opened for instance by using
+\ref starpu_perfmodel_load_symbol and then using
+\ref starpu_perfmodel_history_based_expected_perf
 
 \subsection MonitoringActivity Monitoring Activity
 

+ 2 - 0
include/starpu_deprecated_api.h

@@ -27,6 +27,8 @@ extern "C"
 #warning Your application is using deprecated types. You may want to update to use the latest API, by using tools/dev/rename.sh.
 #endif /* defined(STARPU_USE_DEPRECATED_API) || defined(STARPU_USE_DEPRECATED_ONE_ZERO_API) */
 
+#define starpu_permodel_history_based_expected_perf	starpu_perfmodel_history_based_expected_perf
+
 #ifdef STARPU_USE_DEPRECATED_ONE_ZERO_API
 
 #define starpu_allocate_buffer_on_node	starpu_malloc_on_node

+ 1 - 1
include/starpu_perfmodel.h

@@ -161,7 +161,7 @@ void starpu_perfmodel_debugfilepath(struct starpu_perfmodel *model, struct starp
 char* starpu_perfmodel_get_archtype_name(enum starpu_worker_archtype archtype);
 void starpu_perfmodel_get_arch_name(struct starpu_perfmodel_arch *arch, char *archname, size_t maxlen, unsigned nimpl);
 
-double starpu_permodel_history_based_expected_perf(struct starpu_perfmodel *model, struct starpu_perfmodel_arch* arch, uint32_t footprint);
+double starpu_perfmodel_history_based_expected_perf(struct starpu_perfmodel *model, struct starpu_perfmodel_arch* arch, uint32_t footprint);
 int starpu_perfmodel_list(FILE *output);
 void starpu_perfmodel_print(struct starpu_perfmodel *model, struct starpu_perfmodel_arch *arch, unsigned nimpl, char *parameter, uint32_t *footprint, FILE *output);
 int starpu_perfmodel_print_all(struct starpu_perfmodel *model, char *arch, char *parameter, uint32_t *footprint, FILE *output);

+ 1 - 1
src/core/perfmodel/perfmodel_history.c

@@ -1264,7 +1264,7 @@ docal:
 	return exp;
 }
 
-double starpu_permodel_history_based_expected_perf(struct starpu_perfmodel *model, struct starpu_perfmodel_arch * arch, uint32_t footprint)
+double starpu_perfmodel_history_based_expected_perf(struct starpu_perfmodel *model, struct starpu_perfmodel_arch * arch, uint32_t footprint)
 {
 	struct _starpu_job j =
 		{