Questions related to autotuning

Hi, I had some question related to tuning,

  1. what do the cost model returns while tuning, eg: does this calculated on memory access or data reuse.
  2. Ga / grid-search /random works on which cost model algorithm, i.e block-box/cost model-driven /statistical model approach.