take counsel of one's pillow
all night; all through the night
consider; think; ponder; reason; reflect; spell over【医】 phronesis