write thread core to code generation template in partitioning pass; update private submodule to get code generation template changes required for this
add measurement of elapsed time of applying partitioning algorithms