diff include/mb_types.h @ 851:85f22a771e4a abs_n_rel_center

Compute aggregated cache_2_pdev and reversed one
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 20 Sep 2010 22:43:43 +0800
parents 33fd5fdc8b48
children a17c4e231e54
line wrap: on
line diff
--- a/include/mb_types.h	Mon Sep 20 22:43:43 2010 +0800
+++ b/include/mb_types.h	Mon Sep 20 22:43:43 2010 +0800
@@ -178,6 +178,9 @@
     co_aix cache_2_pdev[6];	/*!< Transfrom matrix from space of
 				 * cached one to its parent. */
     co_aix cache_2_pdev_rev[6];	/*!< Reverse of cache_2_pdev. */
+    co_aix aggr_2_pdev[6];	/*!< Aggregation of cache_2_pdev from root  */
+    co_aix aggr_2_pdev_rev[6];	/*!< Aggregation of cache_2_pdev_rev
+				 * from root  */
 } coord_canvas_info_t;
 
 /*! \brief A coordination system.
@@ -372,6 +375,8 @@
     ((coord)->canvas_info->aggr_dirty_areas)
 #define coord_get_2pdev(coord) ((coord)->canvas_info->cache_2_pdev)
 #define coord_get_2pdev_rev(coord) ((coord)->canvas_info->cache_2_pdev_rev)
+#define coord_get_aggr2pdev(coord) ((coord)->canvas_info->aggr_2_pdev)
+#define coord_get_aggr2pdev_rev(coord) ((coord)->canvas_info->aggr_2_pdev_rev)
 
 /* @} */