setting up parent and child.
refactor Benchmark related macros